mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 08:31:14 +00:00
* Fixed some long/int warnings, hopefully this doesn't disrupt the MSVC and/or 64bit builds
This commit is contained in:
parent
429e59a53c
commit
cde9e9e93c
4 changed files with 9 additions and 9 deletions
|
@ -722,7 +722,7 @@ long QDECL VM_Call( vm_t *vm, long callnum, ... ) {
|
|||
#endif
|
||||
} else {
|
||||
struct {
|
||||
int callnum;
|
||||
long callnum;
|
||||
int args[16];
|
||||
} a;
|
||||
va_list ap;
|
||||
|
@ -852,7 +852,7 @@ void VM_LogSyscalls( int *args ) {
|
|||
f = fopen("syscalls.log", "w" );
|
||||
}
|
||||
callnum++;
|
||||
fprintf(f, "%i: %li (%i) = %i %i %i %i\n", callnum, args - (int *)currentVM->dataBase,
|
||||
fprintf(f, "%i: %li (%i) = %i %i %i %i\n", callnum, (long)( args - (int *)currentVM->dataBase ),
|
||||
args[0], args[1], args[2], args[3], args[4] );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue