projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b2199
)
x86: Fix void pointer arithmetic
author
Nobuyoshi Nakada
<nobu@ruby-lang.org>
Mon, 22 Dec 2014 08:08:08 +0000
(17:08 +0900)
committer
Nobuyoshi Nakada
<nobu@ruby-lang.org>
Mon, 22 Dec 2014 08:08:08 +0000
(17:08 +0900)
src/x86/ffiw64.c
patch
|
blob
|
history
diff --git
a/src/x86/ffiw64.c
b/src/x86/ffiw64.c
index
316f544
..
8a33a6c
100644
(file)
--- a/
src/x86/ffiw64.c
+++ b/
src/x86/ffiw64.c
@@
-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;