summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-12 21:46:21 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-12 21:46:21 +0000
commit44c9a26c107a772f87f00565c7c363c61b5bb77e (patch)
tree41db7c63bcb99b38fcb1acd10c08452518ccd779 /src/inspircd.cpp
parentfcfc2f00c056e5e880467f753f2bd4b7bfe8b9d9 (diff)
Fix printf format warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11508 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
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;
}