1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-06-19 06:41:38 +00:00

fix a warning

This commit is contained in:
scrawl 2012-07-14 18:45:03 +02:00
parent c4f9bbdc8b
commit 5345d4eeef

View file

@ -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;