missed this when fixing things for Hikaru

This commit is contained in:
Bill Currie 2008-08-01 00:48:18 +00:00 committed by Jeff Teunissen
parent 23e3fc0cb8
commit d52df3a733

View file

@ -125,7 +125,7 @@ int
VCR_SendMessage (qsocket_t * sock, sizebuf_t *data) VCR_SendMessage (qsocket_t * sock, sizebuf_t *data)
{ {
int ret; int ret;
long *driverdata = (long *) &sock->driverdata; long *driverdata = (long *) (char *) &sock->driverdata;
if (host_time != next.time || next.op != VCR_OP_SENDMESSAGE if (host_time != next.time || next.op != VCR_OP_SENDMESSAGE
|| next.session != *driverdata) || next.session != *driverdata)