and some more

This commit is contained in:
Bill Currie 2008-07-28 01:31:20 +00:00 committed by Jeff Teunissen
parent ba6e3c69cd
commit 22caa5b4c4

View file

@ -143,7 +143,7 @@ qboolean
VCR_CanSendMessage (qsocket_t * sock)
{
qboolean ret;
long *driverdata = (long *) &sock->driverdata;
long *driverdata = (long *) (char *) &sock->driverdata;
if (host_time != next.time || next.op != VCR_OP_CANSENDMESSAGE
|| next.session != *driverdata)
@ -191,7 +191,7 @@ VCR_CheckNewConnections (void)
}
sock = NET_NewQSocket ();
driverdata = (long *) &sock->driverdata;
driverdata = (long *) (char *) &sock->driverdata;
*driverdata = next.session;
Qread (vcrFile, sock->address, NET_NAMELEN);