diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index 8d9ade432..4593152b5 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -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 %zu for cmap subset output", dest_sz); + DEBUG_MSG(SUBSET, nullptr, "Unable to alloc %lu for cmap subset output", (unsigned long) dest_sz); return false; }