commit | 923255cbe89bd75cedddd4d80a3b446eae4b6700 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Mon Feb 18 02:36:36 2013 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Mon Feb 18 02:36:36 2013 +0100 |
tree | 690a95638fcd660637d4b9061311d022ba3631fa | |
parent | c9d0fc0a63d5b425d6a4e9fedb4cb7a8e3129d6c [diff] |
Preliminary simplifications in mmap functions * mem.c: Move "define sys_mmap64 sys_mmap" from the top to the only place it affects. (print_mmap): Make offset argument unsigned, for safer implicit conversions. (sys_old_mmap): [IA64] use unsigned narrow_arg[]. Cast u_arg[5] (offset param) to unsigned long, to prevent erroneous signed expansion. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>