mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
resulting in a size_t due to C's rules of arithmetic. Rather than bogusly cast the result to a uint8_t, fix the printf format specifier to have a 'z' modifier which tells the compiler that the sizes really do match. It turns out that change 1.75 was incorrect to assume that this 'really' was a 8bit quantity. It isn't. Although the hardware appears to limit things to < 256, it would be a bug that should be caught by debug printf it it were. Casting it to uint8_t would have lost this useful information. Aslo add 'z' to a nearby debug statement that's never compiled in. |
||
|---|---|---|
| .. | ||
| if_ray.c | ||
| if_raydbg.h | ||
| if_raymib.h | ||
| if_rayreg.h | ||
| if_rayvar.h | ||