diff options
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 17fa2ce81..5321aaee9 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -465,7 +465,7 @@ InspIRCd::InspIRCd(int argc, char** argv) default: /* Fall through to handle other weird values too */ printf("Unknown parameter '%s'\n", argv[optind-1]); - printf("Usage: %s [--nofork] [--nolog] [--debug] [--logfile <filename>]\n%*s[--runasroot] [--version] [--config <config>] [--testsuite]\n", argv[0], 8+strlen(argv[0]), " "); + printf("Usage: %s [--nofork] [--nolog] [--debug] [--logfile <filename>]\n%*s[--runasroot] [--version] [--config <config>] [--testsuite]\n", argv[0], static_cast<int>(8+strlen(argv[0])), " "); Exit(EXIT_STATUS_ARGV); break; } |