// rights reserved.
// suggested by Zero_Dogg to fix a compile problem on Mandriva Linux
-#define __KERNEL_STRICT_NAMES
+#include "quakedef.h"
#include <linux/cdrom.h>
#include <sys/ioctl.h>
#include <time.h>
#include <unistd.h>
-#include "quakedef.h"
#include "cdaudio.h"
if (cdfile == -1)
return;
- vol.channel0 = vol.channel1 = volume * 255;
+ vol.channel0 = vol.channel1 = (__u8)(volume * 255);
vol.channel2 = vol.channel3 = 0;
if (ioctl (cdfile, CDROMVOLCTRL, &vol) == -1)