diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-13 16:19:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-18 17:19:16 +0100 |
commit | 6c8a5bcfe92f7b59efae9361bfdba4819f2ca5c2 (patch) | |
tree | 158bcc5ed2a0a78ca3baea91b296f9a8c0e8616a /bridges | |
parent | 033d1acd169cbb6d6c616cd29410d951e059f294 (diff) |
-Wmicrosoft-cast
Change-Id: Idc7b1c8c953634c26aad0923344457eae6fb1583
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx index 6432f035955e..1fa061c0fabf 100644 --- a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx +++ b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx @@ -469,7 +469,7 @@ void GenerateConstructorTrampoline( // mov r11, copyConstruct *p++ = 0x49; *p++ = 0xBB; - *((void **)p) = ©Construct; p += 8; + *((void **)p) = reinterpret_cast<void *>(©Construct); p += 8; // jmp r11 *p++ = 0x41; *p++ = 0xFF; *p++ = 0xE3; @@ -489,7 +489,7 @@ void GenerateDestructorTrampoline( // mov r11, destruct *p++ = 0x49; *p++ = 0xBB; - *((void **)p) = &destruct; p += 8; + *((void **)p) = reinterpret_cast<void *>(&destruct); p += 8; // jmp r11 *p++ = 0x41; *p++ = 0xFF; *p++ = 0xE3; |