diff --git a/src/H5FDs3comms.c b/src/H5FDs3comms.c index 5c28b32c8bc..cb53658d6a1 100644 --- a/src/H5FDs3comms.c +++ b/src/H5FDs3comms.c @@ -1282,7 +1282,8 @@ H5FD_s3comms_s3r_read(s3r_t *handle, haddr_t offset, size_t len, void *dest) } #if S3COMMS_DEBUG - HDfprintf(stderr, "%s: Bytes %ld - %ld, Request Size: %ld\n", handle->httpverb, offset, offset + len, len); + HDfprintf(stderr, "%s: Bytes %" PRIuHADDR " - %" PRIuHADDR ", Request Size: %zu\n", handle->httpverb, + offset, offset + len, len); #endif /*******************