tweaks: avoid a compilation warning

master
David Lawrence Ramsey 2017-04-05 23:03:35 -05:00 committed by Benno Schulenberg
parent 02376103eb
commit 5c51d4ea46
1 changed files with 1 additions and 1 deletions

View File

@ -2017,7 +2017,7 @@ int main(int argc, char **argv)
if (MB_CUR_MAX > MAXCHARLEN)
fprintf(stderr, "Unexpected large character size: %i bytes"
" -- please report a bug\n", MB_CUR_MAX);
" -- please report a bug\n", (int)MB_CUR_MAX);
#if defined(DISABLE_NANORC) && defined(DISABLE_ROOTWRAPPING)
/* If we don't have rcfile support, --disable-wrapping-as-root is