From: Vitaly Buka Date: Sun, 17 Jun 2018 17:40:38 +0000 (+0000) Subject: [sanitizer] Fix s390 build after r334900 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4647c8b93da65768a899a540f71c5327195437de;p=platform%2Fupstream%2Fllvm.git [sanitizer] Fix s390 build after r334900 llvm-svn: 334913 --- diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux_s390.cc b/compiler-rt/lib/sanitizer_common/sanitizer_linux_s390.cc index a6da82e..ad8c87f 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_linux_s390.cc +++ b/compiler-rt/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] != '.')