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
This commit is contained in:
Dominik Röttsches 2018-02-20 10:26:07 +02:00 committed by Khaled Hosny
parent 53cf61b029
commit 25136d9b72
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}