Commit a5a82508 by Serge Hallyn

confile.c: cast size_t to prevent compile failure on 386

parent f5abd74d
......@@ -235,7 +235,7 @@ static int config_string_item_max(char **conf_item, const char *value,
size_t max)
{
if (strlen(value) >= max) {
ERROR("%s is too long (>= %lu)", value, max);
ERROR("%s is too long (>= %lu)", value, (unsigned long)max);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment