summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-08-02 11:38:58 +0000
committerAlexey Samsonov <samsonov@google.com>2012-08-02 11:38:58 +0000
commit2e62a9a76506a89162614db786c15507f033d2c0 (patch)
tree7af569f17d2f37d1ed151f035ba7824cf74401eb /compiler-rt
parent9d74295078dc7d63d3de567e41fba2f7c78a9608 (diff)
downloadbcm5719-llvm-2e62a9a76506a89162614db786c15507f033d2c0.tar.gz
bcm5719-llvm-2e62a9a76506a89162614db786c15507f033d2c0.zip
[Sanitizer] fix windows build
llvm-svn: 161170
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/interception/interception_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/interception/interception_win.cc b/compiler-rt/lib/interception/interception_win.cc
index 8e35a3b9e6b..abbab24970c 100644
--- a/compiler-rt/lib/interception/interception_win.cc
+++ b/compiler-rt/lib/interception/interception_win.cc
@@ -28,7 +28,7 @@ bool GetRealFunctionAddress(const char *func_name, uptr *func_addr) {
};
*func_addr = 0;
for (size_t i = 0; *func_addr == 0 && DLLS[i]; ++i) {
- *func_addr = GetProcAddress(GetModuleHandleA(DLLS[i]), func_name);
+ *func_addr = (uptr)GetProcAddress(GetModuleHandleA(DLLS[i]), func_name);
}
return (*func_addr != 0);
}
OpenPOWER on IntegriCloud