Fix harmless "cast to pointer from integer of different size" warning with x64.

git-svn-id: https://svn.eduke32.com/eduke32@2696 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-05-25 18:39:25 +00:00
parent eebddcd559
commit a485ee8ca0

View file

@ -673,7 +673,7 @@ void Net_SyncPlayer(ENetEvent *event)
break; break;
if (i == -1) if (i == -1)
i = playerswhenstarted++; i = playerswhenstarted++;
event->peer->data = (void *)i; event->peer->data = (void *)(intptr_t)i;
g_player[i].netsynctime = totalclock; g_player[i].netsynctime = totalclock;
g_player[i].playerquitflag = 1; g_player[i].playerquitflag = 1;