ssize_t -> size_t

This commit is contained in:
Garret Rieger 2018-02-05 15:10:01 -08:00
parent c25898eb54
commit 2ea228935d
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ struct subset_consumer_t
fprintf(stderr, "Unable to open output file\n"); fprintf(stderr, "Unable to open output file\n");
return false; 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) { if (bytes_written == -1) {
fprintf(stderr, "Unable to write output file\n"); fprintf(stderr, "Unable to write output file\n");