From 4adcd70955ce43ff5684515a9e99b032bd3db439 Mon Sep 17 00:00:00 2001 From: Steve Hollasch Date: Wed, 13 Nov 2024 12:45:16 -0600 Subject: [PATCH] ray4: fix broken printf directives --- ray4/src/r4_parse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ray4/src/r4_parse.cpp b/ray4/src/r4_parse.cpp index 781aaf2..0be6198 100644 --- a/ray4/src/r4_parse.cpp +++ b/ray4/src/r4_parse.cpp @@ -183,7 +183,7 @@ void Error (const char *format, ...) { va_start(args, format); - printf("Input Error [Line %l]: ", lcount); + printf("Input Error [Line %ld]: ", lcount); vprintf(format, args); print("\n"); @@ -623,7 +623,7 @@ void DoAttributes () { AttrName *newattrname; // New Attributes Alias Node if (anptr) { - printf ("Warning: Attributes \"%s\" redefined at line %l.\n", token, lcount); + printf ("Warning: Attributes \"%s\" redefined at line %ld.\n", token, lcount); newattrname = anptr; } else { newattrname = NEW (AttrName, 1);