mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
hopefully fix type punning for gcc 4.2
This commit is contained in:
parent
fe95805d86
commit
ba6e3c69cd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue