fix a warning

actorid
scrawl 13 years ago
parent c4f9bbdc8b
commit 5345d4eeef

@ -83,7 +83,7 @@ class NIFFile
float read_le32f() float read_le32f()
{ {
union { union {
int i; uint32_t i;
float f; float f;
} u = { read_le32() }; } u = { read_le32() };
return u.f; return u.f;

Loading…
Cancel
Save