diff options
author | Vitaly Buka <vitalybuka@google.com> | 2018-06-17 17:40:38 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2018-06-17 17:40:38 +0000 |
commit | 2512985e8af44d1a05b8e46183352554aa3a2326 (patch) | |
tree | 513325a57cfd0f55fdfd90af6d3891eece31ed1a /lib | |
parent | a526bf671c824aa766ec5a9de521944fc6f59b1f (diff) |
[sanitizer] Fix s390 build after r334900
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sanitizer_common/sanitizer_linux_s390.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_linux_s390.cc b/lib/sanitizer_common/sanitizer_linux_s390.cc index a6da82ecb..ad8c87f2d 100644 --- a/lib/sanitizer_common/sanitizer_linux_s390.cc +++ b/lib/sanitizer_common/sanitizer_linux_s390.cc @@ -126,7 +126,7 @@ static bool FixedCVE_2016_2143() { // This should never fail, but just in case... if (uname(&buf)) return false; - char *ptr = buf.release; + const char *ptr = buf.release; major = internal_simple_strtoll(ptr, &ptr, 10); // At least first 2 should be matched. if (ptr[0] != '.') |