summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorJeffery Myers <[email protected]>2020-11-29 23:14:11 -0800
committerGitHub <[email protected]>2020-11-30 08:14:11 +0100
commitdf249f5513465dfa2662fd566f79f5dfb23960eb (patch)
tree98dd727ac5b72985177e7c5aa6a5f4f2d3cf5c48 /src/core.c
parentd43268b3175f63fad1bb6a7a146682f010de861f (diff)
downloadraylib-df249f5513465dfa2662fd566f79f5dfb23960eb.tar.gz
raylib-df249f5513465dfa2662fd566f79f5dfb23960eb.zip
Fix typecast warnings in raylib code as reported by visual studio 2019 (#1443)
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index cacfd450..5de15394 100644
--- a/src/core.c
+++ b/src/core.c
@@ -4461,7 +4461,7 @@ static void KeyCallback(GLFWwindow *window, int key, int scancode, int action, i
strcpy(path, TextFormat("./screenrec%03i.gif", screenshotCounter));
#endif
- SaveFileData(path, result.data, result.dataSize);
+ SaveFileData(path, result.data, (unsigned int)result.dataSize);
msf_gif_free(result);
#if defined(PLATFORM_WEB)