File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1628,8 +1628,8 @@ struct http_pack_request *new_http_pack_request(
1628
1628
if (prev_posn > 0 ) {
1629
1629
if (http_is_verbose )
1630
1630
fprintf (stderr ,
1631
- "Resuming fetch of pack %s at byte %ld \n" ,
1632
- sha1_to_hex (target -> sha1 ), prev_posn );
1631
+ "Resuming fetch of pack %s at byte %" PRIuMAX " \n" ,
1632
+ sha1_to_hex (target -> sha1 ), ( uintmax_t ) prev_posn );
1633
1633
http_opt_request_remainder (preq -> slot -> curl , prev_posn );
1634
1634
}
1635
1635
@@ -1783,8 +1783,8 @@ struct http_object_request *new_http_object_request(const char *base_url,
1783
1783
if (prev_posn > 0 ) {
1784
1784
if (http_is_verbose )
1785
1785
fprintf (stderr ,
1786
- "Resuming fetch of object %s at byte %ld \n" ,
1787
- hex , prev_posn );
1786
+ "Resuming fetch of object %s at byte %" PRIuMAX " \n" ,
1787
+ hex , ( uintmax_t ) prev_posn );
1788
1788
http_opt_request_remainder (freq -> slot -> curl , prev_posn );
1789
1789
}
1790
1790
You can’t perform that action at this time.
0 commit comments