mirror of
https://git.wuffs.org/MWCC
synced 2025-12-11 22:44:05 +00:00
fix lots more bugs, add better logging
This commit is contained in:
@@ -2418,7 +2418,7 @@ static char *XpandSpecialMacro(Macro *macro) {
|
||||
} else if (macro == &trgtM) {
|
||||
return CPrep_CheckTarget() ? "1" : "0";
|
||||
} else if (macro == &lineM) {
|
||||
sprintf(buf, "%ld", linenumber);
|
||||
sprintf(buf, "%" PRId32, linenumber);
|
||||
do_string:
|
||||
strptr = aalloc(strlen(buf) + 1);
|
||||
strcpy(strptr, buf);
|
||||
|
||||
Reference in New Issue
Block a user