diff options
| author | Ray <[email protected]> | 2023-02-24 18:31:16 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-02-24 18:31:16 +0100 |
| commit | 215eb967e84c4bd9e193e242b586e7f1e67010a5 (patch) | |
| tree | 46149121b3c5835621f1f367b7993f88ad44ab9f | |
| parent | cb2ba3675c3928a2937f84e4c6503a659375ca0a (diff) | |
| download | raylib-215eb967e84c4bd9e193e242b586e7f1e67010a5.tar.gz raylib-215eb967e84c4bd9e193e242b586e7f1e67010a5.zip | |
Update rcore.c
| -rw-r--r-- | src/rcore.c | 2 |
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); |
