PACK_STRUCT was likely ignored in ieee654 struct.

clang warned about that and I think warning made sense. Also still works on gcc - will test on VS tomorrow.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6248 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2021-08-26 21:32:17 +00:00
parent 9564827d57
commit dba40bb36f

View File

@ -164,7 +164,7 @@ typedef union {
unsigned int u; unsigned int u;
struct { unsigned int frac:23; unsigned exp:8; unsigned int sign:1; } fields; struct { unsigned int frac:23; unsigned exp:8; unsigned int sign:1; } fields;
struct { unsigned int frac_exp:31; } abs; struct { unsigned int frac_exp:31; } abs;
} ieee754 PACK_STRUCT; } PACK_STRUCT ieee754;
// Default alignment // Default alignment
#include "irrunpack.h" #include "irrunpack.h"