aboutsummaryrefslogtreecommitdiff
path: root/src/gb
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-15 00:36:00 +0100
committergingerBill <bill@gingerbill.org>2024-07-15 00:36:00 +0100
commit018026d844c8ad3b625f019acee470dbb865d085 (patch)
treec61e610bde307e9da891bb2c86ac0981dcd1e9da /src/gb
parent139c1bcdda68c30c56ae26a9715a38074b9a1129 (diff)
Use `gb_zero_*` calls
Diffstat (limited to 'src/gb')
-rw-r--r--src/gb/gb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gb.h b/src/gb/gb.h
index 22a30a04b..38dabc9bd 100644
--- a/src/gb/gb.h
+++ b/src/gb/gb.h
@@ -2534,7 +2534,7 @@ gb_inline void const *gb_pointer_add_const(void const *ptr, isize bytes) {
gb_inline void const *gb_pointer_sub_const(void const *ptr, isize bytes) { return cast(void const *)(cast(u8 const *)ptr - bytes); }
gb_inline isize gb_pointer_diff (void const *begin, void const *end) { return cast(isize)(cast(u8 const *)end - cast(u8 const *)begin); }
-gb_inline void gb_zero_size(void *ptr, isize size) { gb_memset(ptr, 0, size); }
+gb_inline void gb_zero_size(void *ptr, isize size) { memset(ptr, 0, size); }
#if defined(_MSC_VER) && !defined(__clang__)