From a485ee8ca088517fef327f9c0cb95365c473ac29 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 25 May 2012 18:39:25 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/net.c b/polymer/eduke32/source/net.c index 9e4472a72..bc0444677 100644 --- a/polymer/eduke32/source/net.c +++ b/polymer/eduke32/source/net.c @@ -673,7 +673,7 @@ void Net_SyncPlayer(ENetEvent *event) break; if (i == -1) i = playerswhenstarted++; - event->peer->data = (void *)i; + event->peer->data = (void *)(intptr_t)i; g_player[i].netsynctime = totalclock; g_player[i].playerquitflag = 1;