mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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
This commit is contained in:
1 parent
7d1fe8868e
commit
458c5cbcff
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user