mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-04 11:00:04 -04:00
gcc warns about strict aliasing violations in fix.cpp: fix/fix.cpp: In function "int FloatRound(float)": fix/fix.cpp:157:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 157 | return ((*((int *)&nf)) & 0x7FFFFF) - 2048; But these functions and then some are unused, so delete them altogether.
4.7 KiB
4.7 KiB