mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Fix window result and pedantic error (#302)
* Fix result for close button in WindowBox * Fix pedantic error, void* cast
This commit is contained in:
@ -4174,7 +4174,7 @@ static void GuiLoadStyleFromMemory(const unsigned char *fileData, int dataSize)
|
||||
if ((recsDataCompressedSize > 0) && (recsDataCompressedSize != recsDataSize))
|
||||
{
|
||||
// Recs data is compressed, uncompress it
|
||||
unsigned char *recsDataCompressed = (unsigned char*)RAYGUI_MALLOC(recsDataCompressedSize);
|
||||
unsigned char *recsDataCompressed = (unsigned char *)RAYGUI_MALLOC(recsDataCompressedSize);
|
||||
|
||||
memcpy(recsDataCompressed, fileDataPtr, recsDataCompressedSize);
|
||||
fileDataPtr += recsDataCompressedSize;
|
||||
|
||||
Reference in New Issue
Block a user