X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/f01684313faa9803ddc69e71b66d9a469f955348..0a2aedfe6d650e825a50f25f972bac20d669f5cb:/src/w32font.c diff --git a/src/w32font.c b/src/w32font.c index b8884a50db..4d15cffb9f 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -1747,7 +1747,7 @@ w32_to_x_charset (int fncharset, char *matching) default: /* Encode numerical value of unknown charset. */ - sprintf (buf, "*-#%u", fncharset); + sprintf (buf, "*-#%d", fncharset); return buf; } @@ -1834,7 +1834,7 @@ w32_to_x_charset (int fncharset, char *matching) /* If no match, encode the numeric value. */ if (!best_match) { - sprintf (buf, "*-#%u", fncharset); + sprintf (buf, "*-#%d", fncharset); return buf; }