FreeBSD/src 2370246 (r350020) — sbin/camcontrol camcontrol.c
Use a different approach to range check. gcc hates dt < CC_DT_NONE since it can never be true when dt is an unsigned type. Since that's a compiler choice and may be affected by weird stuff, instead use (unsigned)dt > CC_DT_UNKNOWN to test for bounds error since that will work regardless of the signedness of dt.
Delta | File | |
---|---|---|
+1 | -1 | sbin/camcontrol/camcontrol.c |
+1 | -1 | 1 files |