summaryrefslogtreecommitdiff
path: root/src/alloc-override-osx.c
diff options
context:
space:
mode:
authorJim Huang <jserv@biilabs.io>2019-06-23 15:38:52 +0800
committerJim Huang <jserv.tw@gmail.com>2019-06-24 10:13:43 +0800
commit243636b6a182b96e3e9dd50b7baaf2f95a4732d8 (patch)
tree1d2874e52f8435ccc4a6aaa549e86d81d9d3a0b3 /src/alloc-override-osx.c
parent3526b09903534c8e106c6957dc3c3848a243e171 (diff)
Fix typo in comment
Diffstat (limited to 'src/alloc-override-osx.c')
-rw-r--r--src/alloc-override-osx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc-override-osx.c b/src/alloc-override-osx.c
index 7e26398..01435eb 100644
--- a/src/alloc-override-osx.c
+++ b/src/alloc-override-osx.c
@@ -194,7 +194,7 @@ static void __attribute__((constructor)) _mi_macosx_override_malloc()
#if defined(MAC_OS_X_VERSION_10_6) && \
MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
- // rwitch to version 9 on OSX 10.6 to support memalign.
+ // switch to version 9 on OSX 10.6 to support memalign.
zone.version = 9;
zone.memalign = &zone_memalign;
zone.free_definite_size = &zone_free_definite_size;