On Mon, Oct 08, 2007 at 12:15:25PM -0700, Randy Dunlap wrote:
> On Mon, 8 Oct 2007 14:07:42 -0400 Mike Frysinger wrote:
> 
> > > And if mangle() just takes a "char *", casts are still needed, aren't 
> > > they?
> > 
> > no, because the buffers would also be char *
> 
> OK, this is clearly better.  Thanks.
> 
> ---
> 
> From: Randy Dunlap <[EMAIL PROTECTED]>
> 
> Fix gcc warnings from:
>   (try compilation with "-Wall -Wp,-D_FORTIFY_SOURCE=2")
> 
> mount_mntent.c:28: warning: pointer targets in passing argument 1 of 'strlen' 
> differ in signedness
> mount_mntent.c:129: warning: pointer targets in passing argument 1 of 
> 'mangle' differ in signedness
> mount_mntent.c:130: warning: pointer targets in passing argument 1 of 
> 'mangle' differ in signedness
> mount_mntent.c:131: warning: pointer targets in passing argument 1 of 
> 'mangle' differ in signedness
> mount_mntent.c:132: warning: pointer targets in passing argument 1 of 
> 'mangle' differ in signedness
> 
> Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>

 Applied, thanks.

    Karel

-- 
 Karel Zak  <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to