]> granicus.if.org Git - strace/commit
Replace widen_to_ulong with truncate_kulong_to_current_wordsize
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Dec 2016 17:47:55 +0000 (17:47 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Dec 2016 17:47:55 +0000 (17:47 +0000)
commit885a97ec421b0a9378ed29291c868d5231d1a2af
tree08d8d8bcab87815232c8f8f284b505782da04afe
parent8990b601c264e75be8e4a8f797944ca19bc40af1
Replace widen_to_ulong with truncate_kulong_to_current_wordsize

* defs.h (widen_to_ulong): Remove.
(truncate_kulong_to_current_wordsize): New static inline function.
* io.c (do_preadv, do_pwritev): Use it instead of widen_to_ulong.
defs.h
io.c