From e67ced4d9f63706747531727e3f13ab48c1eff41 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 4 Jan 2017 22:50:16 +0100 Subject: [PATCH] Fixed another compile-breaking mistake in scsi_cdrom.c . --- src/scsi_cdrom.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scsi_cdrom.c b/src/scsi_cdrom.c index 4f3d18023..1528fea91 100644 --- a/src/scsi_cdrom.c +++ b/src/scsi_cdrom.c @@ -1131,20 +1131,20 @@ SCSIOut: switch(cdb[3]) { case 0: - alloc_length = 4; + Temp = 4; break; case 1: - alloc_length = 16; + Temp = 16; break; default: - alloc_length = 24; + Temp = 24; break; } if (cdrom->read_subchannel) { cdrom->read_subchannel(cdb, cmdbuffer); - len = alloc_length; + len = Temp; } else { @@ -1160,7 +1160,7 @@ SCSIOut: } else { - len = alloc_length; + len = Temp; } if (cdb[3] == 1) {