]> git.sur5r.net Git - cc65/blobdiff - src/ld65/lineinfo.h
Changed data type used to store line numbers from unsigned long to unsigned.
[cc65] / src / ld65 / lineinfo.h
index 6a04a4a37aaee26354bad50a3c84a99b179fa3ee..2f123ae0d21f67e084cbfd0e3eab7b75b1a74acd 100644 (file)
@@ -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 */