From 1ec291fa4e32a7cf12869ddccd52635a43f5a590 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 12 Dec 2002 23:19:33 +0000 Subject: [PATCH] Fixed a macro problem git-svn-id: svn://svn.cc65.org/cc65/trunk@1744 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/codeseg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/codeseg.h b/src/cc65/codeseg.h index 3ddf24ada..aa923e3de 100644 --- a/src/cc65/codeseg.h +++ b/src/cc65/codeseg.h @@ -161,7 +161,7 @@ INLINE struct CodeEntry* CS_GetEntry (CodeSeg* S, unsigned Index) return CollAt (&S->Entries, Index); } #else -# define CS_GetEntry(S, Index) CollAt(&(S)->Entries, (Index)) +# define CS_GetEntry(S, Index) ((struct CodeEntry*) CollAt(&(S)->Entries, (Index))) #endif struct CodeEntry* CS_GetPrevEntry (CodeSeg* S, unsigned Index); -- 2.39.5