From aaa19a569de7f156c021e0783e11c457f49b7c4e Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 15 Aug 2011 17:25:23 +0000 Subject: [PATCH] The line number is now of type unsigned. git-svn-id: svn://svn.cc65.org/cc65/trunk@5172 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/scanner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5