diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-08-02 11:38:58 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-08-02 11:38:58 +0000 |
commit | 2e62a9a76506a89162614db786c15507f033d2c0 (patch) | |
tree | 7af569f17d2f37d1ed151f035ba7824cf74401eb /compiler-rt/lib/interception/interception_win.cc | |
parent | 9d74295078dc7d63d3de567e41fba2f7c78a9608 (diff) | |
download | bcm5719-llvm-2e62a9a76506a89162614db786c15507f033d2c0.tar.gz bcm5719-llvm-2e62a9a76506a89162614db786c15507f033d2c0.zip |
[Sanitizer] fix windows build
llvm-svn: 161170
Diffstat (limited to 'compiler-rt/lib/interception/interception_win.cc')
-rw-r--r-- | compiler-rt/lib/interception/interception_win.cc | 2 |
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); } |