From: uz Date: Sat, 31 Jul 2010 12:37:14 +0000 (+0000) Subject: Fixed an error in the macro version of HasObjData(). X-Git-Tag: V2.13.3~675 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=031ae666e3cebe7f491d970574e4e7fcde2a7123;p=cc65 Fixed an error in the macro version of HasObjData(). git-svn-id: svn://svn.cc65.org/cc65/trunk@4776 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/objdata.h b/src/ld65/objdata.h index ca39f38a0..a6e785455 100644 --- a/src/ld65/objdata.h +++ b/src/ld65/objdata.h @@ -134,7 +134,7 @@ INLINE int ObjHasFiles (const ObjData* O) return (O != 0 && CollCount (&O->Files) != 0); } #else -# define ObjHasFiles(O) ((O) != 0 && CollCount ((O)->Files) != 0) +# define ObjHasFiles(O) ((O) != 0 && CollCount (&(O)->Files) != 0) #endif const char* GetSourceFileName (const ObjData* O, unsigned Index);