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 @@ -583,7 +583,7 @@ void fossil_media_elf_dump(const fossil_media_elf_t *elf, FILE *out) {
583583 return ;
584584 }
585585
586- fprintf (out , "ELF Section Table (%zu sections):\n" , count );
586+ fprintf (out , "ELF Section Table (%llu sections):\n" , ( unsigned long long ) count );
587587 for (size_t i = 0 ; i < count ; ++ i ) {
588588 const char * name = NULL ;
589589 const uint8_t * ptr = NULL ;
@@ -597,10 +597,10 @@ void fossil_media_elf_dump(const fossil_media_elf_t *elf, FILE *out) {
597597 name = "<NULL>" ;
598598 }
599599
600- fprintf (out , " [%02zu ] %-20s size=%zu %s\n" ,
601- i ,
600+ fprintf (out , " [%02llu ] %-20s size=%llu %s\n" ,
601+ ( unsigned long long ) i ,
602602 (rc_name == FOSSIL_MEDIA_ELF_OK ? name : "<invalid>" ),
603- (rc_data == FOSSIL_MEDIA_ELF_OK ? len : 0 ),
603+ (unsigned long long )( rc_data == FOSSIL_MEDIA_ELF_OK ? len : 0 ),
604604 (rc_data == FOSSIL_MEDIA_ELF_OK ? "" : " (no data)" ));
605605 }
606606}
You can’t perform that action at this time.
0 commit comments