Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.
This commit is contained in:
parent
59cce31e75
commit
f46ede91fb
23 changed files with 150 additions and 84 deletions
|
@ -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) ) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue