From baade2ff3f699ce40f90496929421e46e2317f0d Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 11 Aug 2008 12:51:11 +0000 Subject: [PATCH] signed vs unsigned Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3199 --- src/dos/cdrom_ioctl_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/cdrom_ioctl_linux.cpp b/src/dos/cdrom_ioctl_linux.cpp index 368f9312..9c202bd5 100644 --- a/src/dos/cdrom_ioctl_linux.cpp +++ b/src/dos/cdrom_ioctl_linux.cpp @@ -57,7 +57,7 @@ bool CDROM_Interface_Ioctl::ReadSectors(PhysPt buffer, bool raw, unsigned long s int cdrom_fd = open(device_name, O_RDONLY | O_NONBLOCK); if (cdrom_fd <= 0) return false; - Bitu buflen = raw ? num * CD_FRAMESIZE_RAW : num * CD_FRAMESIZE; + Bits buflen = raw ? num * CD_FRAMESIZE_RAW : num * CD_FRAMESIZE; Bit8u* buf = new Bit8u[buflen]; int ret;