games/openarena: make C types coherent on amd64 to appease llvm22

This commit is contained in:
naddy
2026-06-16 22:25:40 +00:00
parent f26a6d9a9d
commit e9a00f3e77
2 changed files with 14 additions and 4 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ E_V = ${V}# engine version
PKGNAME = openarena-${V}
REVISION-main = 3
REVISION-server = 2
REVISION-main = 4
REVISION-server = 3
REVISION-data = 0
PKG_ARCH-data = *
@@ -9,8 +9,18 @@ BUGS
means that such descriptors must be opened with O_RDWR, which requires
both read and write permissions on the underlying object.
--- code/qcommon/vm_x86_64.c.orig Sat Dec 24 14:29:32 2011
+++ code/qcommon/vm_x86_64.c Sun Mar 11 15:22:24 2012
Index: code/qcommon/vm_x86_64.c
--- code/qcommon/vm_x86_64.c.orig
+++ code/qcommon/vm_x86_64.c
@@ -85,7 +85,7 @@ static int64_t CROSSCALL callAsmCall(int64_t callProgr
{
vm_t *savedVM;
int64_t ret = 0x77;
- int64_t args[11];
+ intptr_t args[11];
// int iargs[11];
int i;
@@ -445,7 +445,7 @@ void VM_Compile( vm_t *vm, vmHeader_t *header ) {
vm->codeLength = compiledOfs;