Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1233)

Unified Diff: src/ports/SkOSLibrary_win.cpp

Issue 1589933002: Fixed compilation on mingw. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« include/private/SkTLogic.h ('K') | « include/private/SkTLogic.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkOSLibrary_win.cpp
diff --git a/src/ports/SkOSLibrary_win.cpp b/src/ports/SkOSLibrary_win.cpp
index a1249f893b0abaacff1958ef3202371b9a685421..878343d7aa228c2f6f2d82924f2c6d1803aa0a3d 100644
--- a/src/ports/SkOSLibrary_win.cpp
+++ b/src/ports/SkOSLibrary_win.cpp
@@ -16,7 +16,7 @@ void* DynamicLoadLibrary(const char* libraryName) {
}
void* GetProcedureAddress(void* library, const char* functionName) {
- return ::GetProcAddress((HMODULE)library, functionName);
+ return (void*)::GetProcAddress((HMODULE)library, functionName);
bungeman-skia 2016/01/14 18:04:58 Can we use a c++ cast here? Something like reinter
}
#endif//defined(SK_BUILD_FOR_WIN32)
« include/private/SkTLogic.h ('K') | « include/private/SkTLogic.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698