aboutsummaryrefslogtreecommitdiffstats
path: root/gb_math.h
diff options
context:
space:
mode:
authorGravatar gingerBill 2016-05-08 16:04:41 +0100
committerGravatar gingerBill 2016-05-08 16:04:41 +0100
commited22864d0945277af93c040ffe127f0bba8b01f6 (patch)
tree9671eb5030e712ddd792bf9a6b4e23fea91afad3 /gb_math.h
parentTry fixing GitHub project language (diff)
Faster Mutex and the Free List is slightly improved
Diffstat (limited to '')
-rw-r--r--gb_math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gb_math.h b/gb_math.h
index 5a0c447..b33fa7a 100644
--- a/gb_math.h
+++ b/gb_math.h
@@ -768,8 +768,8 @@ gb__memcpy_4byte(void *dest, void const *src, size_t size)
static void
gb__memzero_byte4(void *dest, size_t size)
{
- int *d = (int *)dest;
- int i;
+ unsigned *d = (unsigned *)dest;
+ unsigned i;
for (i = 0; i < size/4; i++)
*d++ = 0;
}