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

src/common/strbuf.h

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