From 031ae666e3cebe7f491d970574e4e7fcde2a7123 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 31 Jul 2010 12:37:14 +0000 Subject: [PATCH] Fixed an error in the macro version of HasObjData(). git-svn-id: svn://svn.cc65.org/cc65/trunk@4776 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/objdata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);