[Scummvm-cvs-logs] scummvm master -> b15a5c8e133eb198843714d1593b829793142374
Littleboy
littleboy22 at gmail.com
Sat Jun 4 21:25:48 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b15a5c8e13 BACKENDS: Fix compilation on mingw64 (take 2)
Commit: b15a5c8e133eb198843714d1593b829793142374
https://github.com/scummvm/scummvm/commit/b15a5c8e133eb198843714d1593b829793142374
Author: Littleboy (littleboy at users.sourceforge.net)
Date: 2011-06-04T12:23:21-07:00
Commit Message:
BACKENDS: Fix compilation on mingw64 (take 2)
Changed paths:
backends/platform/sdl/win32/win32.cpp
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index 27e766c..5b14be4 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -102,8 +102,8 @@ bool OSystem_Win32::displayLogFile() {
// Try opening the log file with the default text editor
// log files should be registered as "txtfile" by default and thus open in the default text editor
- long shellExec = (long)ShellExecute(NULL, NULL, _logFilePath.c_str(), NULL, NULL, SW_SHOWNORMAL);
- if (shellExec > 32)
+ HINSTANCE shellExec = ShellExecute(NULL, NULL, _logFilePath.c_str(), NULL, NULL, SW_SHOWNORMAL);
+ if ((intptr_t)shellExec > 32)
return true;
// ShellExecute with the default verb failed, try the "Open with..." dialog
More information about the Scummvm-git-logs
mailing list