vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I was looking at this warning in "make build": /usr/src/lib/libc/net/res_init.c:214: warning: comparison is always true due to limited range of data type And at /usr/src/lib/libc/res_init.c line 214 I find: if (sizeof(_res_extp->nsaddr) >= _resp->nsaddr.sin_len) memcpy(&_res_extp->nsaddr, &_resp->nsaddr, _resp->nsaddr.sin_len); and can't make this make sense. Granted, it's almost 05:00 MDT as I write this, but why the comparison? Or is the comparison meant to be <= rather than >= ? Excuse me if I'm being late-night-coding silly. -- Jack J. Woehr # Please change your address book listing PO Box 51, Golden, CO 80402 # for me to "jax@well.com" for all email. http://www.well.com/~jax # DELETE LISTING: "jwoehr@attglobal.net" |