提交 25136d9b 编写于 作者: D Dominik Röttsches 提交者: Khaled Hosny

Use %zu format specifier for size_t to fix cross platform build

Fixes Chromium Android builds, compare
https://ci.chromium.org/buildbot/tryserver.chromium.android/linux_android_rel_ng/491787
上级 53cf61b0
......@@ -604,7 +604,7 @@ struct cmap
+ 12 * groups.len; // SequentialMapGroup records
void *dest = calloc (dest_sz, 1);
if (unlikely (!dest)) {
DEBUG_MSG(SUBSET, nullptr, "Unable to alloc %ld for cmap subset output", dest_sz);
DEBUG_MSG(SUBSET, nullptr, "Unable to alloc %zu for cmap subset output", dest_sz);
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册