Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
MPlayer
> MPlayer-fix_win32_pointer_casts.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File MPlayer-fix_win32_pointer_casts.patch of Package MPlayer (Revision 3)
Currently displaying revision
3
,
show latest
--- loader/win32.c.orig 2011-04-12 08:33:55.000000000 +0200 +++ loader/win32.c 2011-04-12 08:35:17.000000000 +0200 @@ -53,6 +53,7 @@ #include "path.h" #include <stdlib.h> +#include <stdint.h> #include <assert.h> #include <stdarg.h> #include <ctype.h> @@ -2023,7 +2024,7 @@ default: dbgprintf("Signalling unknown object type %d!\n", hObjectToSignal); } - return expWaitForSingleObject(hObjectToWaitOn, dwMilliseconds); + return (intptr_t)expWaitForSingleObject((void*)((intptr_t)hObjectToWaitOn), dwMilliseconds); } static long WINAPI expRegOpenKeyExA(long key, const char* subkey, long reserved, long access, int* newkey)