Merge "Fix a printf format warning."

This commit is contained in:
Narayan Kamath
2015-02-24 12:56:13 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -61,7 +61,7 @@ static RangeSet* parse_range(char* text) {
RangeSet* out = malloc(sizeof(RangeSet) + num * sizeof(int)); RangeSet* out = malloc(sizeof(RangeSet) + num * sizeof(int));
if (out == NULL) { if (out == NULL) {
fprintf(stderr, "failed to allocate range of %lu bytes\n", fprintf(stderr, "failed to allocate range of %zu bytes\n",
sizeof(RangeSet) + num * sizeof(int)); sizeof(RangeSet) + num * sizeof(int));
exit(1); exit(1);
} }