mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-12 09:00:09 +08:00
[macOS] fix format warning
This commit is contained in:
parent
a7a13896b3
commit
b1d9de6794
@ -877,7 +877,7 @@ ST_FUNC void tcc_add_macos_sdkpath(TCCState* s)
|
||||
if (sdkroot)
|
||||
pos = strstr(sdkroot,"SDKs/MacOSX");
|
||||
if (pos)
|
||||
cstr_printf(&path, "%.*s.sdk/usr/lib", pos - sdkroot + 11, sdkroot);
|
||||
cstr_printf(&path, "%.*s.sdk/usr/lib", (int)(pos - sdkroot + 11), sdkroot);
|
||||
/* must use free from libc directly */
|
||||
#pragma push_macro("free")
|
||||
#undef free
|
||||
|
Loading…
Reference in New Issue
Block a user