- change long to intptr_t for 64bit windows compatability

- change vmMain arguments back to int. 64bit types are apparently not
  needed there. Only the syscall function needs them.
This commit is contained in:
Ludwig Nussel 2006-02-18 19:07:23 +00:00
parent e129637b5a
commit 4c242115dc
20 changed files with 71 additions and 56 deletions

View file

@ -412,7 +412,7 @@ CL_CgameSystemCalls
The cgame module is making a system call
====================
*/
long CL_CgameSystemCalls( long *args ) {
intptr_t CL_CgameSystemCalls( intptr_t *args ) {
switch( args[0] ) {
case CG_PRINT:
Com_Printf( "%s", VMA(1) );

View file

@ -764,7 +764,7 @@ CL_UISystemCalls
The ui module is making a system call
====================
*/
long CL_UISystemCalls( long *args ) {
intptr_t CL_UISystemCalls( intptr_t *args ) {
switch( args[0] ) {
case UI_ERROR:
Com_Error( ERR_DROP, "%s", VMA(1) );