From b9ff24171faa6b4a83e57e86a669ca3005c320f7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 2 Aug 2005 11:43:26 +0000 Subject: [PATCH] AMD64+gcc-3 complains otherwise --- dlls/engine/messages.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/engine/messages.cpp b/dlls/engine/messages.cpp index 730b7eb9..090164c8 100755 --- a/dlls/engine/messages.cpp +++ b/dlls/engine/messages.cpp @@ -419,7 +419,7 @@ static cell AMX_NATIVE_CALL set_msg_arg_int(AMX *amx, cell *params) return 0; } - Msg.SetParam(argn, params[3]); + Msg.SetParam(argn, (int)params[3]); return 1; } @@ -449,7 +449,7 @@ static cell AMX_NATIVE_CALL set_msg_arg_float(AMX *amx, cell *params) REAL fVal = amx_ctof(params[3]); - Msg.SetParam(argn, fVal); + Msg.SetParam(argn, (float)fVal); return 1; }