aboutsummaryrefslogtreecommitdiff
path: root/backends/wince/wince.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/wince/wince.cpp')
-rw-r--r--backends/wince/wince.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/wince/wince.cpp b/backends/wince/wince.cpp
index de34d533ed..eb4c1eff6e 100644
--- a/backends/wince/wince.cpp
+++ b/backends/wince/wince.cpp
@@ -1744,18 +1744,18 @@ void OSystem_WINCE3::update_cdrom() {;}
//void ScummDebugger::attach(Scumm *s) {;}
/* Mutex stuff */
-void* OSystem_WINCE3::create_mutex() {
- return (void*)CreateMutex(NULL, FALSE, NULL);
+MutexRefOSystem_WINCE3::create_mutex() {
+ return (MutexRef)CreateMutex(NULL, FALSE, NULL);
}
-void OSystem_WINCE3::lock_mutex(void *handle) {
+void OSystem_WINCE3::lock_mutex(MutexRefhandle) {
WaitForSingleObject((HANDLE)handle, INFINITE);
}
-void OSystem_WINCE3::unlock_mutex(void *handle) {
+void OSystem_WINCE3::unlock_mutex(MutexRefhandle) {
ReleaseMutex((HANDLE)handle);
}
-void OSystem_WINCE3::delete_mutex(void *handle) {
+void OSystem_WINCE3::delete_mutex(MutexRefhandle) {
CloseHandle((HANDLE)handle);
}