Skip to content
Snippets Groups Projects
Commit 177f4f17 authored by Jakob Voigts's avatar Jakob Voigts
Browse files

Fixed windows specific uint type issue

parent 0928e235
Branches
Tags
No related merge requests found
......@@ -35,8 +35,8 @@ FileReader::FileReader()
enabledState(false);
// check endianness of the platform
uint32_t magic = 0x00000001;
uint8_t black_magic = *(uint8_t *)&magic;
uint32 magic = 0x00000001;
uint8 black_magic = *(uint8 *)&magic;
if (black_magic > 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment