aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-25 10:11:32 +0100
committerGravatar Sadie Powell2022-05-25 10:11:32 +0100
commitee6ce2064e3abf96eb5baf9b09b6a23148a0c31f (patch)
tree86431267af1b9dbd50561daef970c9d0bef86623 /src/configparser.cpp
parentFix httpd_stats swallowing requests that it doesn't handle. (diff)
Fix some compiler warnings on i386.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index e6de3942a..96965ddc8 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -607,7 +607,7 @@ std::string ConfigTag::getString(const std::string& key, const std::string& def,
if (res.length() < minlen || res.length() > maxlen)
{
ServerInstance->Logs->Log("CONFIG", LOG_DEFAULT, "WARNING: The length of <%s:%s> is not between %ld and %ld; value set to %s.",
- tag.c_str(), key.c_str(), minlen, maxlen, def.c_str());
+ tag.c_str(), key.c_str(), (unsigned long)minlen, (unsigned long)maxlen, def.c_str());
return def;
}
return res;