mirror of
https://github.com/partic2/libffi
synced 2026-11-09 17:47:19 +00:00
x86: Fix void pointer arithmetic
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ ffi_prep_closure_loc (ffi_closure* closure,
|
||||
/* nopl (%rax) */
|
||||
0x0f, 0x1f, 0x00
|
||||
};
|
||||
void *tramp = closure->tramp;
|
||||
unsigned char *tramp = closure->tramp;
|
||||
|
||||
if (cif->abi != FFI_WIN64)
|
||||
return FFI_BAD_ABI;
|
||||
|
||||
Reference in New Issue
Block a user