aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_cgame.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/client/cl_cgame.c')
-rwxr-xr-xcode/client/cl_cgame.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c
index 56dc01c..19ac57e 100755
--- a/code/client/cl_cgame.c
+++ b/code/client/cl_cgame.c
@@ -623,7 +623,10 @@ int CL_CgameSystemCalls( int *args ) {
Com_Memcpy( VMA(1), VMA(2), args[3] );
return 0;
case CG_STRNCPY:
- return (int)strncpy( VMA(1), VMA(2), args[3] );
+#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;
case CG_SIN:
return FloatAsInt( sin( VMF(1) ) );
case CG_COS: