Skip to content

Commit

Permalink
fix: printf("%zu") for size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
emon committed Apr 17, 2017
1 parent c86c053 commit 6413efd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jpeg_rescue.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ main(int argc, char** argv)
continue;
}
if(oflen > MAXJPEGSIZE){
fprintf(stderr, ", cut [%uz]\n", oflen);
fprintf(stderr, ", cut [%zu]\n", oflen);
fclose(ofp);
ofp = NULL;
oflen = 0;
}
if(is_jpeg_startofimage(buf)){
if(ofp!=NULL){
fprintf(stderr, ", done [%uz]\n", oflen);
fprintf(stderr, ", done [%zu]\n", oflen);
fclose(ofp);
ofp = NULL;
oflen = 0;
Expand Down

0 comments on commit 6413efd

Please sign in to comment.