Fixed a macro problem

git-svn-id: svn://svn.cc65.org/cc65/trunk@1744 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-12-12 23:19:33 +00:00
parent 7f9bb30731
commit 1ec291fa4e

View File

@@ -161,7 +161,7 @@ INLINE struct CodeEntry* CS_GetEntry (CodeSeg* S, unsigned Index)
return CollAt (&S->Entries, Index); return CollAt (&S->Entries, Index);
} }
#else #else
# define CS_GetEntry(S, Index) CollAt(&(S)->Entries, (Index)) # define CS_GetEntry(S, Index) ((struct CodeEntry*) CollAt(&(S)->Entries, (Index)))
#endif #endif
struct CodeEntry* CS_GetPrevEntry (CodeSeg* S, unsigned Index); struct CodeEntry* CS_GetPrevEntry (CodeSeg* S, unsigned Index);