Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use %zu format specifier for size_t to fix cross platform build
  • Loading branch information
drott committed Feb 20, 2018
commit 825ad378e0f0e6e6bb690894a0d5d25f198be21b
2 changes: 1 addition & 1 deletion src/hb-ot-cmap-table.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down