[Box Backup-dev] COMMIT r377 - box/chris/win32/vc2005-compile-fixes/lib/win32
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Sat Feb 4 13:31:54 GMT 2006
Author: chris
Date: 2006-02-04 13:31:53 +0000 (Sat, 04 Feb 2006)
New Revision: 377
Modified:
box/chris/win32/vc2005-compile-fixes/lib/win32/emu.cpp
box/chris/win32/vc2005-compile-fixes/lib/win32/emu.h
Log:
* emu.cpp, emu.h
- Change 3rd argument of setitimer to a void pointer instead of an int,
fixes compile warnings on Win32
Modified: box/chris/win32/vc2005-compile-fixes/lib/win32/emu.cpp
===================================================================
--- box/chris/win32/vc2005-compile-fixes/lib/win32/emu.cpp 2006-02-04 13:31:14 UTC (rev 376)
+++ box/chris/win32/vc2005-compile-fixes/lib/win32/emu.cpp 2006-02-04 13:31:53 UTC (rev 377)
@@ -39,7 +39,7 @@
std::list<Timer_t> gTimerList;
static void (__cdecl *gTimerFunc) (int) = NULL;
-int setitimer(int type , struct itimerval *timeout, int)
+int setitimer(int type, struct itimerval *timeout, void *arg)
{
if (ITIMER_VIRTUAL == type)
{
Modified: box/chris/win32/vc2005-compile-fixes/lib/win32/emu.h
===================================================================
--- box/chris/win32/vc2005-compile-fixes/lib/win32/emu.h 2006-02-04 13:31:14 UTC (rev 376)
+++ box/chris/win32/vc2005-compile-fixes/lib/win32/emu.h 2006-02-04 13:31:53 UTC (rev 377)
@@ -45,7 +45,7 @@
#endif
int SetTimerHandler(void (__cdecl *func ) (int));
-int setitimer(int type, struct itimerval *timeout, int);
+int setitimer(int type, struct itimerval *timeout, void *arg);
void InitTimer(void);
void FiniTimer(void);
More information about the Boxbackup-dev
mailing list