Skip to content

Commit

Permalink
ray4: fix broken printf directives
Browse files Browse the repository at this point in the history
  • Loading branch information
hollasch committed Nov 13, 2024
1 parent 0fdde2c commit 4adcd70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ray4/src/r4_parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4adcd70

Please sign in to comment.