ssize_t -> size_t

This commit is contained in:
Garret Rieger 2018-02-05 15:10:01 -08:00
parent c25898eb54
commit 2ea228935d

View File

@ -62,7 +62,7 @@ struct subset_consumer_t
fprintf(stderr, "Unable to open output file\n");
return false;
}
ssize_t bytes_written = fwrite(data, 1, data_length, fp_out);
size_t bytes_written = fwrite(data, 1, data_length, fp_out);
if (bytes_written == -1) {
fprintf(stderr, "Unable to write output file\n");