summaryrefslogtreecommitdiffstats
path: root/vcd_read.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcd_read.h')
-rw-r--r--vcd_read.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcd_read.h b/vcd_read.h
index 8bd0d017c6..34e0475419 100644
--- a/vcd_read.h
+++ b/vcd_read.h
@@ -175,7 +175,7 @@ static int sun_vcd_read(int fd, int *offset)
(error_field << 1);
cdb.cdb_opaque[10] = sub_channel;
- sc.uscsi_cdb = &cdb;
+ sc.uscsi_cdb = (caddr_t)&cdb;
sc.uscsi_cdblen = 12;
sc.uscsi_bufaddr = vcd_buf;
sc.uscsi_buflen = 2336;