hopefully fix type punning for gcc 4.2

This commit is contained in:
Bill Currie 2008-07-28 01:26:56 +00:00 committed by Jeff Teunissen
parent fe95805d86
commit ba6e3c69cd

View file

@ -97,7 +97,7 @@ int
VCR_GetMessage (qsocket_t * sock)
{
int ret;
long *driverdata = (long *) &sock->driverdata;
long *driverdata = (long *) (char *) &sock->driverdata;
if (host_time != next.time || next.op != VCR_OP_GETMESSAGE
|| next.session != *driverdata)