summaryrefslogtreecommitdiffhomepage
path: root/src/utils.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-09-07 00:39:38 +0200
committerRay <[email protected]>2022-09-07 00:39:38 +0200
commitac1ffbad1d80dc0fcebe4b105347764733b78ff3 (patch)
tree007748c0302b3d79384ff80cce9681605b2f5594 /src/utils.c
parentb09725fa84f2dfc2c766cdcf4e9bc8aff097048d (diff)
downloadraylib-ac1ffbad1d80dc0fcebe4b105347764733b78ff3.tar.gz
raylib-ac1ffbad1d80dc0fcebe4b105347764733b78ff3.zip
REVIEWED: Data type to unsigned
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index 9809e904..208a483a 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -160,14 +160,14 @@ void TraceLog(int logType, const char *text, ...)
// Internal memory allocator
// NOTE: Initializes to zero by default
-void *MemAlloc(int size)
+void *MemAlloc(unsigned int size)
{
void *ptr = RL_CALLOC(size, 1);
return ptr;
}
// Internal memory reallocator
-void *MemRealloc(void *ptr, int size)
+void *MemRealloc(void *ptr, unsigned int size)
{
void *ret = RL_REALLOC(ptr, size);
return ret;