diff options
| author | Jeffery Myers <[email protected]> | 2023-11-06 11:31:07 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-06 20:31:07 +0100 |
| commit | 6cd37e57a6b38bb06cc54ecf6aa7659d4895723b (patch) | |
| tree | d3dee9e7f62fc74ee06caa51b99b684292bb3f24 /src/rcore.c | |
| parent | fc21a8e552c452804838bfbbbaadaf044a74b81e (diff) | |
| download | raylib-6cd37e57a6b38bb06cc54ecf6aa7659d4895723b.tar.gz raylib-6cd37e57a6b38bb06cc54ecf6aa7659d4895723b.zip | |
Fix warnings in visual studio (#3512)
Diffstat (limited to 'src/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 bbbebbd5..67538b7c 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2519,7 +2519,7 @@ bool ExportAutomationEventList(AutomationEventList list, const char *fileName) // Add events data byteCount += sprintf(txtData + byteCount, "c %i\n", list.count); - for (int i = 0; i < list.count; i++) + for (unsigned int i = 0; i < list.count; i++) { byteCount += snprintf(txtData + byteCount, 256, "e %i %i %i %i %i %i // Event: %s\n", list.events[i].frame, list.events[i].type, list.events[i].params[0], list.events[i].params[1], list.events[i].params[2], list.events[i].params[3], autoEventTypeName[list.events[i].type]); |
