mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +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