aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-28 12:34:17 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-28 12:34:17 +0000
commitdc2575dac52e38a33693c24593f608615e4259e3 (patch)
tree1d2c46834ae8af7ec746d34ead8d1e25d6d8a630 /code/server
parentf9f317367195d4b10bbdf9c12e5357e58c903f12 (diff)
downloadioquake3-aero-dc2575dac52e38a33693c24593f608615e4259e3.tar.gz
ioquake3-aero-dc2575dac52e38a33693c24593f608615e4259e3.zip
remove 64bit warning. For QVM it's ok and native .so is broken anyways
git-svn-id: svn://svn.icculus.org/quake3/trunk@17 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/server')
-rwxr-xr-xcode/server/sv_game.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/code/server/sv_game.c b/code/server/sv_game.c
index 387b1a8..6c1faf8 100755
--- a/code/server/sv_game.c
+++ b/code/server/sv_game.c
@@ -828,11 +828,8 @@ int SV_GameSystemCalls( int *args ) {
return 0;
case TRAP_STRNCPY:
-#warning 64bit broken!
-// Com_Printf("%s:%d %s() *** return value of TRAP_STRNCPY not 64bit clean\n", __FILE__, __LINE__, __FUNCTION__);
-// Com_Printf("%s %d\n", VMA(2), args[3]);
strncpy( VMA(1), VMA(2), args[3] );
- return 0;
+ return args[1];
case TRAP_SIN:
return FloatAsInt( sin( VMF(1) ) );