From: johanknol Date: Fri, 1 Mar 2002 11:22:23 +0000 (+0000) Subject: swapped type and val->type ;( X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=e0c5fbcf888b97ddee4d095f39896a7d10acfc9d;p=fw%2Fsdcc swapped type and val->type ;( git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1965 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCglue.c b/src/SDCCglue.c index 54895c19..2b6cfa9f 100644 --- a/src/SDCCglue.c +++ b/src/SDCCglue.c @@ -972,7 +972,7 @@ printIvalPtr (symbol * sym, sym_link * type, initList * ilist, FILE * oFile) /* check the type */ if (compareType (type, val->type) == 0) { werror (W_INIT_WRONG); - printFromToType (val->type, from); + printFromToType (val->type, type); } /* if val is literal */