1.1 --- a/tests/dstest_block_client.cc Fri Sep 16 22:49:39 2022 +0200
1.2 +++ b/tests/dstest_block_client.cc Fri Sep 16 22:59:39 2022 +0200
1.3 @@ -71,7 +71,7 @@
1.4 printf("----\n%s\n----\n", outbuf);
1.5
1.6 printf("[%lld zero bytes at start]\n", leading);
1.7 - printf("[%d bytes shown]\n", strlen(outbuf));
1.8 + printf("[%zd bytes shown]\n", strlen(outbuf));
1.9 printf("[%lld bytes after string]\n", sample_remaining - leading - strlen(outbuf));
1.10 printf("[%lld zero bytes at end]\n", trailing);
1.11 }
2.1 --- a/tests/dstest_file_client.cc Fri Sep 16 22:49:39 2022 +0200
2.2 +++ b/tests/dstest_file_client.cc Fri Sep 16 22:59:39 2022 +0200
2.3 @@ -109,7 +109,7 @@
2.4 nread, size, total, *buffer, *(buffer + nread - 1));
2.5
2.6 if (!(*(buffer + nread - 1)))
2.7 - printf("Warning: length before zero region is %lld\n", strlen(buffer));
2.8 + printf("Warning: length before zero region is %zd\n", strlen(buffer));
2.9
2.10 nread = client_read(file, buffer, size);
2.11 }