diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2016-02-02 18:36:28 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2016-02-02 18:36:28 +0000 |
commit | f54e67dcc9876c8a0259e45e5c6823535d8ac384 (patch) | |
tree | 43af2a351b520c9462107ddf991aec09121085da /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | ecefe5a81fd01922185afdd4f47e8ff231e34a81 (diff) | |
download | bcm5719-llvm-f54e67dcc9876c8a0259e45e5c6823535d8ac384.tar.gz bcm5719-llvm-f54e67dcc9876c8a0259e45e5c6823535d8ac384.zip |
Cast the fifth arg to mremap to void *
Summary:
Since the prototype of mremap is
```
void *mremap(void *old_address, size_t old_size, size_t new_size,
int flags, ... /* void *new_address*/);
```
we need to cast new_address to void * when calling mremap. Otherwise,
the wrong value will be passed to mremap on x32.
Patch by H.J Lu!
Reviewers: kcc, eugenis, samsonov
Subscribers: samsonov, llvm-commits
Differential Revision: http://reviews.llvm.org/D16805
llvm-svn: 259540
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions