commit 5c51d4ea46416e2290f98b7aeba64eb09c54bd37
parent 02376103eb5660c91dc64e9d8c057bba82bfe914
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 5 Apr 2017 23:03:35 -0500
tweaks: avoid a compilation warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nano.c b/src/nano.c
@@ -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