Skip to content

Commit

Permalink
Merge pull request libffi#159 from nobu/fix-void-arith
Browse files Browse the repository at this point in the history
x86: Fix void pointer arithmetic
  • Loading branch information
atgreen committed Jan 10, 2015
2 parents 58bf7d6 + 5f8881a commit 4ca2262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x86/ffiw64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4ca2262

Please sign in to comment.