signed vs unsigned
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3199
This commit is contained in:
parent
a84fcb5f7c
commit
baade2ff3f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue