summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-02-24 18:31:16 +0100
committerRay <[email protected]>2023-02-24 18:31:16 +0100
commit215eb967e84c4bd9e193e242b586e7f1e67010a5 (patch)
tree46149121b3c5835621f1f367b7993f88ad44ab9f /src
parentcb2ba3675c3928a2937f84e4c6503a659375ca0a (diff)
downloadraylib-215eb967e84c4bd9e193e242b586e7f1e67010a5.tar.gz
raylib-215eb967e84c4bd9e193e242b586e7f1e67010a5.zip
Update rcore.c
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);