X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspircd.cpp;h=5321aaee909ce1165c2e4434a2608367c5f21ba3;hb=54e04fe36a275d1791595fe2cdf956d92bb671d7;hp=17fa2ce817ec5046a56678791835bc2d8f750d65;hpb=0036e3a70cabea02e9ec2103ed1dfdf5c799289f;p=user%2Fhenk%2Fcode%2Finspircd.git 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 ]\n%*s[--runasroot] [--version] [--config ] [--testsuite]\n", argv[0], 8+strlen(argv[0]), " "); + printf("Usage: %s [--nofork] [--nolog] [--debug] [--logfile ]\n%*s[--runasroot] [--version] [--config ] [--testsuite]\n", argv[0], static_cast(8+strlen(argv[0])), " "); Exit(EXIT_STATUS_ARGV); break; }