mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-15 20:39:44 -04:00
[CLEANUP] format '%d' expects type 'int', but argument 5 has type 'long int'
src/cfgparse.c: In function 'readcfgfile':
src/cfgparse.c:4087: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
(cherry picked from commit 500b8f0349)
This commit is contained in:
parent
fe362fe476
commit
8a4d7dd743
1 changed files with 1 additions and 1 deletions
|
|
@ -3731,7 +3731,7 @@ int readcfgfile(const char *file)
|
|||
line++;
|
||||
*line = '\0';
|
||||
|
||||
Alert("parsing [%s:%d]: line too long, truncating at word %d, position %d : <%s>.\n",
|
||||
Alert("parsing [%s:%d]: line too long, truncating at word %d, position %ld: <%s>.\n",
|
||||
file, linenum, arg + 1, args[arg] - thisline + 1, args[arg]);
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
args[arg] = line;
|
||||
|
|
|
|||
Loading…
Reference in a new issue