aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/client/cl_ui.c')
-rwxr-xr-xcode/client/cl_ui.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c
index 96cc07e..2c91991 100755
--- a/code/client/cl_ui.c
+++ b/code/client/cl_ui.c
@@ -1043,7 +1043,11 @@ int CL_UISystemCalls( int *args ) {
return 0;
case UI_STRNCPY:
- return (int)strncpy( VMA(1), VMA(2), args[3] );
+#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;
case UI_SIN:
return FloatAsInt( sin( VMF(1) ) );