]> git.sur5r.net Git - cc65/commitdiff
Fixed an error in the SB_SetIndex macro.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 26 Jan 2009 08:08:28 +0000 (08:08 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 26 Jan 2009 08:08:28 +0000 (08:08 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3915 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/strbuf.h

index f1493240d9d4cc22106e33e1cb2a2143fe3bfa3b..7592e2e123e5a5a4b9fd5c8ea47d7f2f6aea9d2d 100644 (file)
@@ -141,7 +141,7 @@ INLINE void SB_SetIndex (StrBuf* B, unsigned Index)
     B->Index = Index;
 }
 #else
-#  define SB_SetIndex(B ((B)->Index = (Index))
+#  define SB_SetIndex(B, Index) ((B)->Index = (Index))
 #endif
 
 #if defined(HAVE_INLINE)