Re: [PATCH 1/2] cfdisk: data type mismatch, and other, compiler warning fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 23, 2011 at 03:40:18PM +0100, Sami Kerola wrote:
> 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

 Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux