commit | e4113974893293c82f177fe4195cac0a5b70465a | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu Jun 05 14:37:04 2014 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Jun 05 15:42:05 2014 +0000 |
tree | e8d38fc0fd622dedbc3fbdfa90cbc7ac0d26c432 | |
parent | 6e7ba0d8fe2fc31ea852a7fb7f380c22c2a9bdd2 [diff] |
unwind: fix build on 32-bit architectures Fix compilation warnings in unwind.c on 32-bit architectures. On some architectures getuid is actually getuid32, so change the test to use getpid instead of getuid. * unwind.c (STACK_ENTRY_SYMBOL_FMT): Explicitly cast function_off_set to unsigned long. (queue_put_error): Change the 3rd argument's type to unsigned long. * tests/stack-fcall.c (f1): Use getpid instead of getuid. * tests/strace-k.test: Likewise.