[PATCH] fix some warning
Steven Munroe
sjmunroe@us.ibm.com
Wed May 7 21:06:00 GMT 2003
This patch fixes some of the warning I see with gcc-3.3 of the nature
<warning: comparison between signed and unsigned>. There are many of
these that may obscure more important warnings (like pointer to int
casts). So I thought I would start chipping away some of the simpler cases.
2003-05-07 Steven Munroe <sjmunroe@us.ibm.com>
* nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Cast
pointer difference to size_t for comparison.
* resolv/ns_print.c (ns_sprintrrf): Change siz type to size_t.
* resolv/nss_dns/dns-network.c (getanswer_r): Cast char
difference to unsigned for comparison.
* time/strptime.c (strptime_internal): Change val type to
size_t.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nss-warnings-20030505.patch
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030507/3f9b2472/attachment.ksh>
More information about the Libc-alpha
mailing list