From 2bbf92ad5ae7708bf18ac7ef333e9a979d8d1bde Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Thu, 16 Nov 2023 21:12:27 -0300 Subject: Working so hard like a soldier Can't afford a thing on TV --- raylib/examples/core/core_drop_files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'raylib/examples/core/core_drop_files.c') diff --git a/raylib/examples/core/core_drop_files.c b/raylib/examples/core/core_drop_files.c index 9f62203..d4ddd9e 100644 --- a/raylib/examples/core/core_drop_files.c +++ b/raylib/examples/core/core_drop_files.c @@ -53,7 +53,7 @@ int main(void) { FilePathList droppedFiles = LoadDroppedFiles(); - for (int i = 0, offset = filePathCounter; i < droppedFiles.count; i++) + for (int i = 0, offset = filePathCounter; i < (int)droppedFiles.count; i++) { if (filePathCounter < (MAX_FILEPATH_RECORDED - 1)) { @@ -77,7 +77,7 @@ int main(void) { DrawText("Dropped files:", 100, 40, 20, DARKGRAY); - for (unsigned int i = 0; i < filePathCounter; i++) + for (int i = 0; i < filePathCounter; i++) { if (i%2 == 0) DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, 0.5f)); else DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, 0.3f)); -- cgit v1.2.3