From 94504ee0c31409e50d6478dc0393df95055a8c38 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Thu, 28 Feb 2019 07:21:30 +0000 Subject: [PATCH] Fix net.cpp compilation failure under clang git-svn-id: https://svn.eduke32.com/eduke32@7353 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/net.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/net.cpp b/source/duke3d/src/net.cpp index 474db5917..288ab5340 100644 --- a/source/duke3d/src/net.cpp +++ b/source/duke3d/src/net.cpp @@ -241,7 +241,7 @@ typedef struct netField_s } netField_t; -#define SECTF(x) #x,(size_t)&((netSector_t*)0)->x +#define SECTF(x) #x,(int32_t)(size_t)&((netSector_t*)0)->x static netField_t SectorFields[] = { @@ -280,7 +280,7 @@ static netField_t SectorFields[] = #undef SECTF -#define WALLF(x) #x,(size_t)&((netWall_t*)0)->x +#define WALLF(x) #x,(int32_t)(size_t)&((netWall_t*)0)->x static netField_t WallFields[] = { @@ -311,7 +311,7 @@ static netField_t WallFields[] = #undef WALLF -#define ACTF(x) #x,(size_t)&((netactor_t*)0)->x +#define ACTF(x) #x,(int32_t)(size_t)&((netactor_t*)0)->x static netField_t ActorFields[] = {