eliminated qbyte type, now uses unsigned char throughout the engine for this purpose
[xonotic/darkplaces.git] / snd_sdl.c
index 8396409..dbeb3ce 100644 (file)
--- a/snd_sdl.c
+++ b/snd_sdl.c
@@ -106,7 +106,7 @@ qboolean SNDDMA_Init(void)
        shm->samplepos = 0;
        shm->samples = AUDIO_SDL_SAMPLES * AUDIO_LOCALFACTOR;
        shm->bufferlength = shm->samples * shm->format.width;
-       shm->buffer = (qbyte *)Mem_Alloc( snd_mempool, shm->bufferlength );
+       shm->buffer = (unsigned char *)Mem_Alloc( snd_mempool, shm->bufferlength );
 
        // Init the as structure
        as.buffer = shm->buffer;