zip.d: fix printf formats

This commit is contained in:
Walter Bright 2020-02-21 23:14:16 -08:00
parent 7a656e09d2
commit f29f099321

View file

@ -372,8 +372,8 @@ final class ArchiveMember
{ {
void print() void print()
{ {
printf("name = '%.*s'\n", name.length, name.ptr); printf("name = '%.*s'\n", cast(int) name.length, name.ptr);
printf("\tcomment = '%.*s'\n", comment.length, comment.ptr); printf("\tcomment = '%.*s'\n", cast(int) comment.length, comment.ptr);
printf("\tmadeVersion = x%04x\n", _madeVersion); printf("\tmadeVersion = x%04x\n", _madeVersion);
printf("\textractVersion = x%04x\n", extractVersion); printf("\textractVersion = x%04x\n", extractVersion);
printf("\tflags = x%04x\n", flags); printf("\tflags = x%04x\n", flags);