Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.

This commit is contained in:
Zachary Slater committed 2005-08-27 02:24:00 +00:00
1 parent 59cce31e75
commit f46ede91fb
23 files changed
+150 -84

No files matched your search

+4 -1
View File
@@ -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: