diff options
author | Vitaly Buka <vitalybuka@google.com> | 2018-06-17 08:41:45 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2018-06-17 08:41:45 +0000 |
commit | b957f99d572399303d8c5a181199a1d4df72490e (patch) | |
tree | 3a8593a3200ad58c1d0d7f673a7dd5ed12c87424 /compiler-rt/lib/xray/xray_utils.cc | |
parent | 9786946731da30f0ad849e2ecaa779eb53777130 (diff) | |
download | bcm5719-llvm-b957f99d572399303d8c5a181199a1d4df72490e.tar.gz bcm5719-llvm-b957f99d572399303d8c5a181199a1d4df72490e.zip |
[sanitizer] Use const char* in internal_simple_strtoll
llvm-svn: 334900
Diffstat (limited to 'compiler-rt/lib/xray/xray_utils.cc')
-rw-r--r-- | compiler-rt/lib/xray/xray_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/xray/xray_utils.cc b/compiler-rt/lib/xray/xray_utils.cc index a27ac945113..68f4e8c1094 100644 --- a/compiler-rt/lib/xray/xray_utils.cc +++ b/compiler-rt/lib/xray/xray_utils.cc @@ -82,7 +82,7 @@ bool readValueFromFile(const char *Filename, if (!Success) return false; close(Fd); - char *End = nullptr; + const char *End = nullptr; long long Tmp = internal_simple_strtoll(Line, &End, 10); bool Result = false; if (Line[0] != '\0' && (*End == '\n' || *End == '\0')) { |