File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1628,8 +1628,8 @@ struct http_pack_request *new_http_pack_request(
16281628 if (prev_posn > 0 ) {
16291629 if (http_is_verbose )
16301630 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 );
16331633 http_opt_request_remainder (preq -> slot -> curl , prev_posn );
16341634 }
16351635
@@ -1783,8 +1783,8 @@ struct http_object_request *new_http_object_request(const char *base_url,
17831783 if (prev_posn > 0 ) {
17841784 if (http_is_verbose )
17851785 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 );
17881788 http_opt_request_remainder (freq -> slot -> curl , prev_posn );
17891789 }
17901790
You can’t perform that action at this time.
0 commit comments