diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-28 12:34:17 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-28 12:34:17 +0000 |
commit | dc2575dac52e38a33693c24593f608615e4259e3 (patch) | |
tree | 1d2c46834ae8af7ec746d34ead8d1e25d6d8a630 /code/client | |
parent | f9f317367195d4b10bbdf9c12e5357e58c903f12 (diff) | |
download | ioquake3-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/client')
-rwxr-xr-x | code/client/cl_cgame.c | 4 | ||||
-rwxr-xr-x | code/client/cl_ui.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c index 19ac57e..c2f6df7 100755 --- a/code/client/cl_cgame.c +++ b/code/client/cl_cgame.c @@ -623,10 +623,8 @@ int CL_CgameSystemCalls( int *args ) { Com_Memcpy( VMA(1), VMA(2), args[3] ); return 0; case CG_STRNCPY: -#warning 64bit broken! strncpy( VMA(1), VMA(2), args[3] ); -// Com_Printf("%s:%d %s() *** return value of CG_STRNCPY not 64bit clean\n", __FILE__, __LINE__, __FUNCTION__); - return 0; + return args[1]; case CG_SIN: return FloatAsInt( sin( VMF(1) ) ); case CG_COS: diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index 2c91991..66e6265 100755 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -1043,11 +1043,8 @@ int CL_UISystemCalls( int *args ) { return 0; case UI_STRNCPY: -#warning 64bit broken! -// Com_Printf("%s:%d %s() *** return value of UI_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 UI_SIN: return FloatAsInt( sin( VMF(1) ) ); |