diff options
author | Krzysztof Piotr Oledzki <ole@ans.pl> | 2009-12-15 22:34:51 +0100 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2010-01-28 23:14:30 +0100 |
commit | 8a4d7dd743b434fdc59bf668467e8c855c688396 (patch) | |
tree | 0c2f04917768ff43c4de5daee7fc23c660cd7b4d /src | |
parent | fe362fe4762151d209b9656639ee1651bc2b329d (diff) | |
download | haproxy-8a4d7dd743b434fdc59bf668467e8c855c688396.tar.gz |
[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 500b8f0349fb52678f5143c49f5a8be5c033a988)
Diffstat (limited to 'src')
-rw-r--r-- | src/cfgparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfgparse.c b/src/cfgparse.c index 65c820ee5..c5e6db6a9 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -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; |