1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-14 09:04:31 +02:00

Prevent type errors when compiling with GCC

This commit is contained in:
Gemma Peter
2017-06-02 01:45:09 +01:00
parent f408f179d2
commit 8e994211d2

View File

@@ -557,10 +557,10 @@ namespace Debug {
uint32 data;
uint32 dataSize;
} header = {
FOURCC("RIFF"), sizeof(Header) - 8 + dataSize,
FOURCC("RIFF"), (uint32) sizeof(Header) - 8 + dataSize,
FOURCC("WAVE"), FOURCC("fmt "), 16,
{ 1, 1, 44100, 44100 * 16 / 8, 0, 16 },
FOURCC("data"), dataSize
FOURCC("data"), (uint32) dataSize
};
fwrite(&header, sizeof(header), 1, f);