summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 807d58f9..8e7adda9 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -6996,7 +6996,7 @@ static void ExportAutomationEvents(const char *fileName)
// Save as binary
/*
FILE *repFile = fopen(fileName, "wb");
- fwrite(fileId, 4, 1, repFile);
+ fwrite(fileId, sizeof(unsigned char), 4, repFile);
fwrite(&eventCount, sizeof(int), 1, repFile);
fwrite(events, sizeof(AutomationEvent), eventCount, repFile);
fclose(repFile);