diff options
Diffstat (limited to 'compiler_and_linker/FrontEnd')
-rw-r--r-- | compiler_and_linker/FrontEnd/C/CPrep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler_and_linker/FrontEnd/C/CPrep.c b/compiler_and_linker/FrontEnd/C/CPrep.c index 36ba0f9..8392b44 100644 --- a/compiler_and_linker/FrontEnd/C/CPrep.c +++ b/compiler_and_linker/FrontEnd/C/CPrep.c @@ -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); |