diff options
author | Haru <haru@dotalux.com> | 2016-02-20 15:59:58 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-20 15:59:58 +0100 |
commit | 71968e6985a2d6798505b84bc7ed22f5c6bfcfac (patch) | |
tree | 4740ae636d410980f379cc4bb3a969b49451c7c7 /src/common/showmsg.c | |
parent | 5b74faa8afd04771af7acb918072ea71a3db475f (diff) | |
parent | b7f772294594c40ef1e18f9c044e5c4fe6b490f4 (diff) | |
download | hercules-71968e6985a2d6798505b84bc7ed22f5c6bfcfac.tar.gz hercules-71968e6985a2d6798505b84bc7ed22f5c6bfcfac.tar.bz2 hercules-71968e6985a2d6798505b84bc7ed22f5c6bfcfac.tar.xz hercules-71968e6985a2d6798505b84bc7ed22f5c6bfcfac.zip |
Merge pull request #1162 from 4144/flags
Add some compiler warning flags and fix new warnings
Diffstat (limited to 'src/common/showmsg.c')
-rw-r--r-- | src/common/showmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/showmsg.c b/src/common/showmsg.c index 4d4c72b42..1c1d4ca8b 100644 --- a/src/common/showmsg.c +++ b/src/common/showmsg.c @@ -805,7 +805,7 @@ void showmsg_showConfigWarning(struct config_setting_t *config, const char *stri va_list ap; StrBuf->Init(&buf); StrBuf->AppendStr(&buf, string); - StrBuf->Printf(&buf, " (%s:%d)\n", config_setting_source_file(config), config_setting_source_line(config)); + StrBuf->Printf(&buf, " (%s:%u)\n", config_setting_source_file(config), config_setting_source_line(config)); va_start(ap, string); vShowMessage_(MSG_WARNING, StrBuf->Value(&buf), ap); va_end(ap); |