1
0
Fork 0
libreoffice/external/epoxy/Wint-conversion.patch
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

26 lines
1 KiB
Diff

--- src/gen_dispatch.py
+++ src/gen_dispatch.py
@@ -123,20 +123,16 @@
#
# We retain those aliases. In the x86_64 ABI, the first 6
# args are stored in 64-bit registers, so the calls end up
- # being the same despite the different types. We just need to
- # add a cast to uintptr_t to shut up the compiler.
+ # being the same despite the different types.
if arg_type == 'GLhandleARB':
assert len(self.args) < 6
- arg_list_name = '(uintptr_t)' + arg_name
- else:
- arg_list_name = arg_name
self.args.append((arg_type, arg_name))
if self.args_decl == 'void':
- self.args_list = arg_list_name
+ self.args_list = arg_name
self.args_decl = arg_type + ' ' + arg_name
else:
- self.args_list += ', ' + arg_list_name
+ self.args_list += ', ' + arg_name
self.args_decl += ', ' + arg_type + ' ' + arg_name
def add_provider(self, condition, loader, condition_name):