diff options
Diffstat (limited to 'code/win32/win_snd.c')
-rw-r--r-- | code/win32/win_snd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/code/win32/win_snd.c b/code/win32/win_snd.c index 084ed44..f3f7c50 100644 --- a/code/win32/win_snd.c +++ b/code/win32/win_snd.c @@ -135,7 +135,7 @@ qboolean SNDDMA_Init(void) { #undef DEFINE_GUID #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ - EXTERN_C const GUID name \ + const GUID name \ = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } // DirectSound Component GUID {47D4D946-62E8-11CF-93BC-444553540000} @@ -331,8 +331,8 @@ void SNDDMA_BeginPainting( void ) { reps = 0; dma.buffer = NULL; - while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &locksize, - &pbuf2, &dwSize2, 0)) != DS_OK) + while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, (LPVOID)&pbuf, &locksize, + (LPVOID)&pbuf2, &dwSize2, 0)) != DS_OK) { if (hresult != DSERR_BUFFERLOST) { |