Skip to content

Commit ae0628f

Browse files
committed
[sanitizer] Fix MAC build after D108163
1 parent 8e4efad commit ae0628f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_malloc_mac.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ size_t __sanitizer_mz_size(malloc_zone_t* zone, const void* ptr) {
186186

187187
extern "C"
188188
SANITIZER_INTERFACE_ATTRIBUTE
189-
void *__sanitizer_mz_malloc(malloc_zone_t *zone, uptr size) {
189+
void *__sanitizer_mz_malloc(malloc_zone_t *zone, size_t size) {
190190
COMMON_MALLOC_ENTER();
191191
COMMON_MALLOC_MALLOC(size);
192192
return p;

0 commit comments

Comments
 (0)