]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse: Add a cast to make gcc happier.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 26 Feb 2019 17:48:01 +0000 (18:48 +0100)
committerOlivier Houchard <cognet@ci0.org>
Tue, 26 Feb 2019 17:47:59 +0000 (18:47 +0100)
commitdd1c8f1f721fc139ecb5b96f81caf69894964715
treed2a72e863100912bea812e019f79d78eb086fe0e
parentdb64489aac2135c6ceceec47fe98dc42c0558466
MINOR: cfgparse: Add a cast to make gcc happier.

When calling calloc(), cast global.nbthread to unsigned int, so that gcc
doesn't freak out, as it has no way of knowing global.nbthread can't be
negative.
src/cfgparse.c