Use 'f' for float suffix.

This commit is contained in:
michal 2007-08-16 12:12:14 +01:00
parent b0b871429d
commit 9982044a8d

2
src/mesa/pipe/p_util.h Normal file → Executable file
View file

@ -60,7 +60,7 @@ union fi {
else if (__tmp.i >= IEEE_0996) \
UB = (ubyte) 255; \
else { \
__tmp.f = __tmp.f * (255.0F/256.0F) + 32768.0F; \
__tmp.f = __tmp.f * (255.0f/256.0f) + 32768.0f; \
UB = (ubyte) __tmp.i; \
} \
} while (0)