summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-11-28 10:25:22 +0000
committerPádraig Brady <P@draigBrady.com>2014-11-28 10:25:22 +0000
commit458c5cbcff4dd855cc4b90d1523aaa4ee646eea7 (patch)
tree0ebf938e89fdcfe5c71cc286ca1432d61c099260 /src
parent7d1fe8868e29ae2644831685df4a29638721d6ba (diff)
downloadcoreutils-458c5cbcff4dd855cc4b90d1523aaa4ee646eea7.tar.xz
build: fix missing casts from recent change
* src/dd.c (alloc_[io]buf): I committed a stale patch that omitted the casts needed on 32 bit. Identified by http://hydra.nixos.org/build/17610188
Diffstat (limited to 'src')
-rw-r--r--src/dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dd.c b/src/dd.c
index 0b5a4b20a..f830ef2df 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -697,7 +697,7 @@ alloc_ibuf (void)
if (!real_buf)
error (EXIT_FAILURE, 0,
_("memory exhausted by input buffer of size %"PRIuMAX" bytes (%s)"),
- input_blocksize, human_size (input_blocksize));
+ (uintmax_t) input_blocksize, human_size (input_blocksize));
real_buf += SWAB_ALIGN_OFFSET; /* allow space for swab */
@@ -720,7 +720,7 @@ alloc_obuf (void)
error (EXIT_FAILURE, 0,
_("memory exhausted by output buffer of size %"PRIuMAX
" bytes (%s)"),
- output_blocksize, human_size (output_blocksize));
+ (uintmax_t) output_blocksize, human_size (output_blocksize));
obuf = ptr_align (real_obuf, page_size);
}
else