aboutsummaryrefslogtreecommitdiffstats
path: root/code/botlib/be_ai_weap.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/botlib/be_ai_weap.c')
-rw-r--r--code/botlib/be_ai_weap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/botlib/be_ai_weap.c b/code/botlib/be_ai_weap.c
index 56aabcc..50b0dea 100644
--- a/code/botlib/be_ai_weap.c
+++ b/code/botlib/be_ai_weap.c
@@ -48,8 +48,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//#define DEBUG_AI_WEAP
//structure field offsets
-#define WEAPON_OFS(x) (int)&(((weaponinfo_t *)0)->x)
-#define PROJECTILE_OFS(x) (int)&(((projectileinfo_t *)0)->x)
+#define WEAPON_OFS(x) (size_t)&(((weaponinfo_t *)0)->x)
+#define PROJECTILE_OFS(x) (size_t)&(((projectileinfo_t *)0)->x)
//weapon definition // bk001212 - static
static fielddef_t weaponinfo_fields[] =