[Mplayer-cvslog] CVS: main/loader module.c, 1.20, 1.21 win32.c, 1.90, 1.91
Dominik Mierzejewski CVS
syncmail at mplayerhq.hu
Sat Aug 28 22:22:40 CEST 2004
CVS change done by Dominik Mierzejewski CVS
Update of /cvsroot/mplayer/main/loader
In directory mail:/var2/tmp/cvs-serv12446
Modified Files:
module.c win32.c
Log Message:
loader gcc warning fixes and avifile sync
Index: module.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/module.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- module.c 4 May 2004 21:20:58 -0000 1.20
+++ module.c 28 Aug 2004 20:22:38 -0000 1.21
@@ -1002,7 +1002,7 @@
fprintf(stderr,"theQuickTimeDispatcher catched -> %p\n",retproc);
report_entry = report_func;
report_ret = report_func_ret;
- wrapper_target=retproc;
+ wrapper_target=(void(*)(void))retproc;
retproc=(FARPROC)wrapper;
}
Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- win32.c 30 Jun 2004 22:00:53 -0000 1.90
+++ win32.c 28 Aug 2004 20:22:38 -0000 1.91
@@ -863,7 +863,7 @@
for (i = 0; i < count; i++)
{
- object = objects[i];
+ object = (void *)objects[i];
ret = expWaitForSingleObject(object, duration);
if (WaitAll)
dbgprintf("WaitAll flag not yet supported...\n");
@@ -1943,7 +1943,7 @@
LPDWORD values, LPDWORD max_value, LPDWORD max_data,
LPDWORD security, FILETIME *modif )
{
- return;
+ return ERROR_SUCCESS;
}
/*
@@ -3645,7 +3645,7 @@
if (strrchr(lpFileName, '\\'))
lpFilePart = strrchr(lpFileName, '\\');
else
- lpFilePart = lpFileName;
+ lpFilePart = (LPTSTR)lpFileName;
#endif
strcpy(lpBuffer, lpFileName);
// strncpy(lpBuffer, lpFileName, rindex(lpFileName, '\\')-lpFileName);
More information about the MPlayer-cvslog
mailing list