summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-02-08 18:27:04 +0000
committerXinliang David Li <davidxl@google.com>2016-02-08 18:27:04 +0000
commit73fe6ce1187f5b4ec2636e5cb3c5120660fcb1e8 (patch)
treef98124238e96052aaefd14d2f88df170e73c22a5
parent5b7e2e2fa774cf39e94dc8364ddd2b7fd98a8d5f (diff)
downloadbcm5719-llvm-73fe6ce1187f5b4ec2636e5cb3c5120660fcb1e8.tar.gz
bcm5719-llvm-73fe6ce1187f5b4ec2636e5cb3c5120660fcb1e8.zip
Fix windows build bot failure
llvm-svn: 260120
-rw-r--r--compiler-rt/lib/profile/InstrProfilingPlatformOther.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingPlatformOther.c b/compiler-rt/lib/profile/InstrProfilingPlatformOther.c
index 746fb4dfb06..24ef5bb6bee 100644
--- a/compiler-rt/lib/profile/InstrProfilingPlatformOther.c
+++ b/compiler-rt/lib/profile/InstrProfilingPlatformOther.c
@@ -64,7 +64,8 @@ void __llvm_profile_register_names_function(void *NamesStart,
return;
}
NamesFirst = (const char *)getMinAddr(NamesFirst, NamesStart);
- NamesLast = (const char *)getMaxAddr(NamesLast, NamesStart + NamesSize);
+ NamesLast =
+ (const char *)getMaxAddr(NamesLast, (const char *)NamesStart + NamesSize);
}
COMPILER_RT_VISIBILITY
OpenPOWER on IntegriCloud