Changed data type used to store line numbers from unsigned long to unsigned.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5222 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -128,7 +128,7 @@ INLINE const char* GetSourceName (const LineInfo* LI)
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_INLINE)
|
||||
INLINE unsigned long GetSourceLine (const LineInfo* LI)
|
||||
INLINE unsigned GetSourceLine (const LineInfo* LI)
|
||||
/* Return the source file line from the given line info */
|
||||
{
|
||||
return LI->Pos.Line;
|
||||
@@ -160,7 +160,7 @@ INLINE const char* GetSourceNameFromList (const Collection* LineInfos)
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_INLINE)
|
||||
INLINE unsigned long GetSourceLineFromList (const Collection* LineInfos)
|
||||
INLINE unsigned GetSourceLineFromList (const Collection* LineInfos)
|
||||
/* Return the source file line from a list of line infos */
|
||||
{
|
||||
/* The relevant entry is in slot zero */
|
||||
|
||||
Reference in New Issue
Block a user