diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-19 09:39:15 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-19 09:39:15 +0000 |
| commit | 609a02ad07f09147e2fe7beaa257b8c607aca033 (patch) | |
| tree | 53de4b11f517253f83cfa35ad78c36ecccfccb85 | |
| parent | b9bf700ae7fe59e25976e0abe9636150f3a39cd2 (diff) | |
| download | compiler-rt-609a02ad07f09147e2fe7beaa257b8c607aca033.tar.gz compiler-rt-609a02ad07f09147e2fe7beaa257b8c607aca033.tar.bz2 compiler-rt-609a02ad07f09147e2fe7beaa257b8c607aca033.tar.xz | |
[sanitizer] Avoid use of uintptr_t.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177384 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | lib/sanitizer_common/sanitizer_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_linux.cc b/lib/sanitizer_common/sanitizer_linux.cc index a7e0f0d4..14647098 100644 --- a/lib/sanitizer_common/sanitizer_linux.cc +++ b/lib/sanitizer_common/sanitizer_linux.cc @@ -708,7 +708,7 @@ uptr GetTlsSize() { void AdjustStackSizeLinux(void *attr_, int verbosity) { pthread_attr_t *attr = (pthread_attr_t *)attr_; - uintptr_t stackaddr = 0; + uptr stackaddr = 0; size_t stacksize = 0; pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); // GLibC will return (0 - stacksize) as the stack address in the case when |
