Skip to content

Commit 35a2f17

Browse files
committed
[Backtracing] Add missing void cast to the paths test.
We need to cast in order to call `free()`. rdar://103071801
1 parent 69bad8c commit 35a2f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Runtime/Paths.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ int main(void) {
9797

9898
printf("aux path: %s\n", auxPath ? auxPath : "<NULL>");
9999

100-
free(auxPath);
100+
free((void *)auxPath);
101101

102102
return 0;
103103
}

0 commit comments

Comments
 (0)