From: sater Date: Thu, 9 Oct 1986 16:12:24 +0000 (+0000) Subject: nullpointer and empty string were confused. X-Git-Tag: release-5-5~5207 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ae2f23666385cd05600e23d55b8ba06f23ba8411;p=ack.git nullpointer and empty string were confused. Long live the PDP and VAX --- diff --git a/mach/proto/ncg/compute.c b/mach/proto/ncg/compute.c index 0de478fa4..c86e073d3 100644 --- a/mach/proto/ncg/compute.c +++ b/mach/proto/ncg/compute.c @@ -340,7 +340,7 @@ result_t compute(node) register node_p node; { case EX_TOSTRING: assert(leaf1.e_typ == EV_INT); result.e_typ = EV_ADDR; - result.e_v.e_addr.ea_str = 0; + result.e_v.e_addr.ea_str = ""; result.e_v.e_addr.ea_off = leaf1.e_v.e_con; return(result); #ifdef REGVARS