Messages in this thread | | | Date | Mon, 22 Sep 2003 16:51:04 -0500 | From | Tommy Reynolds <> | Subject | Re: compiler warnings and syscall macros |
| |
Uttered Chris Friesen <cfriesen@nortelnetworks.com>, spoke thus:
> Would it hurt anything if I put in an explicit cast, like this? > > __sc_ret = (unsigned long) -1;
Why not do the obvious:
__sc_ret = -1UL;
and use a proper constant? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |