diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-12 07:21:17 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-12 07:21:17 +0000 |
commit | 4c49cca6f251340d896789551ee5193827b8f204 (patch) | |
tree | b48acf380bf597fa66fc7ee8063335305a0225ba /lib | |
parent | 7811b4afded19781f940a733d6c64201e5f4b987 (diff) |
[msan] Use sptr instead of ptrdiff_t.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/msan/msan_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/msan_linux.cc b/lib/msan/msan_linux.cc index 64aa35b0b..cda23b103 100644 --- a/lib/msan/msan_linux.cc +++ b/lib/msan/msan_linux.cc @@ -110,7 +110,7 @@ void UnpoisonMappedDSO(link_map *map) { } // Compute the delta from the real base to get a relocation delta. - ptrdiff_t delta = (uptr)base - preferred_base; + sptr delta = (uptr)base - preferred_base; // Now we can figure out what the loader really mapped. for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { Elf_Phdr *phdr = (Elf_Phdr *)iter; |