From: uz Date: Mon, 26 Jan 2009 08:08:28 +0000 (+0000) Subject: Fixed an error in the SB_SetIndex macro. X-Git-Tag: V2.13.0rc1~340 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f45e73164d432d3451e3eac1c2ac02ec28cc6201;p=cc65 Fixed an error in the SB_SetIndex macro. git-svn-id: svn://svn.cc65.org/cc65/trunk@3915 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/strbuf.h b/src/common/strbuf.h index f1493240d..7592e2e12 100644 --- a/src/common/strbuf.h +++ b/src/common/strbuf.h @@ -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)