]> err.no Git - util-linux/commit
cfdisk: data type mismatch, and other, compiler warning fixes
authorSami Kerola <kerolasa@iki.fi>
Sun, 23 Jan 2011 14:40:18 +0000 (15:40 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Jan 2011 09:40:34 +0000 (10:40 +0100)
commit2897f29a10ba95a96af2139b982ddaddfd49a60d
tree2faad79af0ca5a6708e17b18075e20acbd940ad9
parent5a669b12f84f85f7ace13712b20ce9592a08f157
cfdisk: data type mismatch, and other, compiler warning fixes

Following warnings will longer appear when one will compile with
gcc flags -Wall -Wextra -pedantic

cfdisk.c:475:3: warning: comparison of unsigned expression < 0 is always false
cfdisk.c:487:16: warning: comparison between signed and unsigned integer expressions
cfdisk.c:492:14: warning: comparison between signed and unsigned integer expressions
cfdisk.c:565:19: warning: comparison between signed and unsigned integer expressions
cfdisk.c:569:19: warning: comparison between signed and unsigned integer expressions
cfdisk.c:1070:14: warning: comparison between signed and unsigned integer expressions
cfdisk.c:1568:5: warning: missing initializer
cfdisk.c:1568:5: warning: (near initialization for 'tmp_ext.volume_label')

mbsalign.c:131:2: warning: comparison of unsigned expression >= 0 is always true

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
fdisk/cfdisk.c
lib/mbsalign.c