From 5c51d4ea46416e2290f98b7aeba64eb09c54bd37 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 5 Apr 2017 23:03:35 -0500 Subject: [PATCH] tweaks: avoid a compilation warning --- src/nano.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index eb00bd65..bd63d51c 100644 --- 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