mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
remove 64bit warning. For QVM it's ok and native .so is broken anyways
This commit is contained in:
parent
a2249d087e
commit
fd4bbf42d6
3 changed files with 3 additions and 11 deletions
|
@ -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:
|
||||
|
|
|
@ -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) ) );
|
||||
|
|
|
@ -828,11 +828,8 @@ int SV_GameSystemCalls( int *args ) {
|
|||
return 0;
|
||||
|
||||
case TRAP_STRNCPY:
|
||||
#warning 64bit broken!
|
||||
// Com_Printf("%s:%d %s() *** return value of TRAP_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 TRAP_SIN:
|
||||
return FloatAsInt( sin( VMF(1) ) );
|
||||
|
|
Loading…
Reference in a new issue