diff --git a/Source/dthread.cpp b/Source/dthread.cpp index 6e3e9a0b9..d1d49f570 100644 --- a/Source/dthread.cpp +++ b/Source/dthread.cpp @@ -86,7 +86,7 @@ void dthread_start() } } -unsigned int __stdcall dthread_handler(void *) +unsigned int __stdcall dthread_handler(void *data) { char *error_buf; TMegaPkt *pkt; diff --git a/Source/dthread.h b/Source/dthread.h index 7a9e86c96..f4dc99c6f 100644 --- a/Source/dthread.h +++ b/Source/dthread.h @@ -12,7 +12,7 @@ extern BOOLEAN dthread_running; void dthread_remove_player(int pnum); void dthread_send_delta(int pnum, char cmd, void *pbSrc, int dwLen); void dthread_start(); -unsigned int __stdcall dthread_handler(void *); +unsigned int __stdcall dthread_handler(void *data); void dthread_cleanup(); /* data */