DragonFly submit List (threaded) for 2005-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: vmstat WARNS6 cleanup
On Sat, Jan 08, 2005 at 10:26:08PM +0100, Peter Schuller wrote:
> @@ -230,7 +242,8 @@
> if (c > 0) {
> warnx("undefined symbols:");
> for (c = 0;
> - c < sizeof(namelist)/sizeof(namelist[0]); c++)
> + c < (int)(sizeof(namelist)/sizeof(namelist[0]));
> + c++)
> if (namelist[c].n_type == 0)
> fprintf(stderr, " %s",
> namelist[c].n_name);
I used __arysize(namelist) here, rest is find. Thanks.
Joerg
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]