mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 12:32:09 +00:00
fix 64bit VM interface to work on ppc64 (#3838)
This commit is contained in:
parent
1e02c641bc
commit
f86f8e8ed8
1 changed files with 2 additions and 2 deletions
|
@ -357,10 +357,10 @@ void *VM_ExplicitArgPtr( vm_t *vm, intptr_t intValue );
|
|||
static ID_INLINE float _vmf(intptr_t x)
|
||||
{
|
||||
union {
|
||||
intptr_t l;
|
||||
int i;
|
||||
float f;
|
||||
} t;
|
||||
t.l = x;
|
||||
t.i = (int)x;
|
||||
return t.f;
|
||||
}
|
||||
#define VMF(x) _vmf(args[x])
|
||||
|
|
Loading…
Reference in a new issue