blob: 7666aca5efd2f02de41d63ce2b6c1ca3d3719e37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From ae4406a714e49c7884e0e19825af3b33aa6f6910 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Fri, 2 Dec 2016 23:58:32 +0100
Subject: [PATCH 10/10] Win32_system_utils.cpp: Make implicit cast explicit
Required to build with mingw-w64
---
util/windows/win32/Win32_system_utils.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/windows/win32/Win32_system_utils.cpp b/util/windows/win32/Win32_system_utils.cpp
index a9fd97f..83eb626 100644
--- a/util/windows/win32/Win32_system_utils.cpp
+++ b/util/windows/win32/Win32_system_utils.cpp
@@ -52,7 +52,7 @@ void *Win32Library::getSymbol(const std::string &symbolName)
return nullptr;
}
- return GetProcAddress(mModule, symbolName.c_str());
+ return reinterpret_cast<void *>(GetProcAddress(mModule, symbolName.c_str()));
}
Library *loadLibrary(const std::string &libraryName)
--
2.10.2
|