From: uz Date: Mon, 15 Aug 2011 17:25:23 +0000 (+0000) Subject: The line number is now of type unsigned. X-Git-Tag: V2.13.3~290 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aaa19a569de7f156c021e0783e11c457f49b7c4e;p=cc65 The line number is now of type unsigned. git-svn-id: svn://svn.cc65.org/cc65/trunk@5172 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/scanner.c b/src/ld65/scanner.c index 9e8e101a9..bb9d5c1c4 100644 --- a/src/ld65/scanner.c +++ b/src/ld65/scanner.c @@ -93,7 +93,7 @@ void CfgWarning (const FilePos* Pos, const char* Format, ...) SB_VPrintf (&Buf, Format, ap); va_end (ap); - Warning ("%s(%lu): %s", + Warning ("%s(%u): %s", GetString (Pos->Name), Pos->Line, SB_GetConstBuf (&Buf)); SB_Done (&Buf); } @@ -110,7 +110,7 @@ void CfgError (const FilePos* Pos, const char* Format, ...) SB_VPrintf (&Buf, Format, ap); va_end (ap); - Error ("%s(%lu): %s", + Error ("%s(%u): %s", GetString (Pos->Name), Pos->Line, SB_GetConstBuf (&Buf)); SB_Done (&Buf); }