summaryrefslogtreecommitdiff
path: root/sys/src/games/doom/d_net.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-02-04 01:09:46 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-02-04 01:09:46 +0100
commit3f522c745a91dabfa577b4bf1045e58fa436066e (patch)
treed9c41d05dc28a1b5fffe5d60a60ba98d829320e3 /sys/src/games/doom/d_net.c
parent88505bff06822e2d6313de477874a7a816935ea7 (diff)
doom: port to amd64
Diffstat (limited to 'sys/src/games/doom/d_net.c')
-rw-r--r--sys/src/games/doom/d_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/games/doom/d_net.c b/sys/src/games/doom/d_net.c
index c434b0214..2df926410 100644
--- a/sys/src/games/doom/d_net.c
+++ b/sys/src/games/doom/d_net.c
@@ -89,7 +89,7 @@ doomdata_t reboundstore;
//
int NetbufferSize (void)
{
- return (int)&(((doomdata_t *)0)->cmds[netbuffer->numtics]);
+ return (int)(uintptr)&(((doomdata_t *)0)->cmds[netbuffer->numtics]);
}
//