From f45e73164d432d3451e3eac1c2ac02ec28cc6201 Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 26 Jan 2009 08:08:28 +0000 Subject: [PATCH] Fixed an error in the SB_SetIndex macro. git-svn-id: svn://svn.cc65.org/cc65/trunk@3915 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/strbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5