aboutsummaryrefslogtreecommitdiff
path: root/raylib/examples/core/core_drop_files.c
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-11-16 21:12:27 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-11-16 21:12:27 -0300
commit2bbf92ad5ae7708bf18ac7ef333e9a979d8d1bde (patch)
treec9d22bb0d73d9cc0c8586e4d31c93a561ea8e910 /raylib/examples/core/core_drop_files.c
parent1c0cc775732201f4c4d3ee0d6772be786b3b4aa1 (diff)
Working so hard like a soldiermain
Can't afford a thing on TV
Diffstat (limited to 'raylib/examples/core/core_drop_files.c')
-rw-r--r--raylib/examples/core/core_drop_files.c4
1 files changed, 2 insertions, 2 deletions
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));