fix warning

This commit is contained in:
Vitor Santos Costa 2015-01-15 01:19:07 -08:00
parent befedf8db2
commit 504d67375b
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ write_quoted(wchar_t ch, wchar_t quote, wrf stream)
char esc[8];
/* last backslash in ISO mode */
sprintf(esc, "\\%03o\\", ch);
snprintf(esc, 7, "\\%03o\\", (unsigned int)ch);
wrputs(esc, stream);
}
}