bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] fix build warning in fnmatch_loop.c


From: Eric Blake
Subject: Re: [PATCH] fix build warning in fnmatch_loop.c
Date: Sat, 14 Nov 2009 07:41:24 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Robert Millan on 11/9/2009 2:50 PM:
>> I'm not a fan of unnecessary casts.  Can't we instead write this as:
>>
>> : p - startp + 1U;
>>
>> to still show that we intend for unsigned math, but without a cast?
> 
> The warning persists.

Can you show the exact gcc version, command line options, and warning
output that you are seeing with this construct?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr+wZQACgkQ84KuGfSFAYD4KQCggrt+coE/xyY209QKLVyYFhzy
g3wAoLR3MBXUcdUB2SAAbUa28B5ww6Ex
=r6KP
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]