From: johanknol Date: Fri, 1 Mar 2002 10:08:34 +0000 (+0000) Subject: fixed bug #524195 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f049048b1be242041842b65a70a08a99e36665a8;p=fw%2Fsdcc fixed bug #524195 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1960 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCval.c b/src/SDCCval.c index 59cb5872..43352767 100644 --- a/src/SDCCval.c +++ b/src/SDCCval.c @@ -966,6 +966,8 @@ valComplement (value * val) else SPEC_CVAL (val->etype).v_int = ~SPEC_CVAL (val->etype).v_int; } + // ~(unsigned 3) now really is signed + SPEC_USIGN(val->etype)=0; return val; }