summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/vcd_read.h')
-rw-r--r--stream/vcd_read.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/vcd_read.h b/stream/vcd_read.h
index 7cd4218eff..9c7bdc6a3c 100644
--- a/stream/vcd_read.h
+++ b/stream/vcd_read.h
@@ -127,7 +127,7 @@ static int vcd_read(mp_vcd_priv_t* vcd,char *mem){
#elif defined(sun)
{
int offset;
- if (sun_vcd_read(vcd->fd, &offset) <= 0) return 0;
+ if (sun_vcd_read(vcd, &offset) <= 0) return 0;
memcpy(mem,&vcd->buf[offset],VCD_SECTOR_DATA);
}
#endif