diff options
author | Russell Rice | 2007-03-07 23:52:33 +0000 |
---|---|---|
committer | Russell Rice | 2007-03-07 23:52:33 +0000 |
commit | cebecf16cc349650bf2a9b20f24b2eac6372e07b (patch) | |
tree | f565f4a1dd235d35e0e9f025a5e626677444fa32 /src/pcsound | |
parent | e434c7c10278a47fc686024fae04d361a0282ab8 (diff) | |
download | chocolate-doom-cebecf16cc349650bf2a9b20f24b2eac6372e07b.tar.gz chocolate-doom-cebecf16cc349650bf2a9b20f24b2eac6372e07b.tar.bz2 chocolate-doom-cebecf16cc349650bf2a9b20f24b2eac6372e07b.zip |
Update project
Fix a warning
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 845
Diffstat (limited to 'src/pcsound')
-rw-r--r-- | src/pcsound/pcsound_win32.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pcsound/pcsound_win32.c b/src/pcsound/pcsound_win32.c index 41b1e059..090c0bbd 100644 --- a/src/pcsound/pcsound_win32.c +++ b/src/pcsound/pcsound_win32.c @@ -34,7 +34,7 @@ static SDL_Thread *sound_thread_handle; static int sound_thread_running; static pcsound_callback_func callback; -static void SoundThread(void *unused) +static int SoundThread(void *unused) { int frequency; int duration; @@ -51,7 +51,9 @@ static void SoundThread(void *unused) { Sleep(duration); } - } + } + + return 0; } static int PCSound_Win32_Init(pcsound_callback_func callback_func) |