summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-11-28 11:42:06 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-12-01 11:53:23 +0800
commitd28e414354d791a8c010cf6069bfc549d4343811 (patch)
tree599994d00410f615351ad3be2cefb57a7e2ae41a /discover
parent6ad2eb0b495e47c5be35acd5d63d53530a45e137 (diff)
downloadtalos-petitboot-d28e414354d791a8c010cf6069bfc549d4343811.tar.gz
talos-petitboot-d28e414354d791a8c010cf6069bfc549d4343811.zip
lib/fold: fix warning with -DDEBUG
When compiling the fold code with DEBUG defined, we get: ../lib/fold/fold.c: In function 'fold_text': ../lib/fold/fold.c:37:3: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits] assert(bytes >= 0); ^ We should be comparing with != (size_t)-1, not >= 0 Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud