diff options
author | Ron Yorston <rmy@pobox.com> | 2017-08-31 08:51:01 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-31 08:51:01 +0100 |
commit | 10ed03c6f54f3e6171f948243637462691f02e54 (patch) | |
tree | 03662a1f32fd0426e532dc47478db76f0f4e3c7c /TODO | |
parent | 8731aec88d8efced67084446dea459bfcc3af1aa (diff) | |
download | busybox-w32-10ed03c6f54f3e6171f948243637462691f02e54.tar.gz busybox-w32-10ed03c6f54f3e6171f948243637462691f02e54.tar.bz2 busybox-w32-10ed03c6f54f3e6171f948243637462691f02e54.zip |
dd: silence warning on 64-bit systems
On 64-bit systems size_t may be larger than unsigned long, resulting in
a warning when -1L is cast to size_t.
There's little to be gained from allowing obs and ibs take values
larger than will fit in a signed long as the subsequent malloc will
probably fail. Limit their range to ULONG_MAX/2.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions