projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b419d6
)
Alien address offsets are byte offsets.
author
Matt Birkholz
<matt@birkholz.chandler.az.us>
Sat, 5 Jun 2010 16:01:04 +0000
(09:01 -0700)
committer
Matt Birkholz
<matt@birkholz.chandler.az.us>
Sat, 5 Jun 2010 16:01:04 +0000
(09:01 -0700)
src/microcode/pruxffi.c
patch
|
blob
|
history
diff --git
a/src/microcode/pruxffi.c
b/src/microcode/pruxffi.c
index ab19b2692e8b7199526bf2641a04138a9d2011dc..477c46c2356b88aaeb72b0e698090bce3ac571f2 100644
(file)
--- a/
src/microcode/pruxffi.c
+++ b/
src/microcode/pruxffi.c
@@
-90,7
+90,7
@@
arg_address (int argn)
}
#define ALIEN_ADDRESS_LOC(type) \
- ((
(type *) (arg_address (1))) + (UNSIGNED_FIXNUM_ARG (2
)))
+ ((
type *)(((char *) (arg_address (1))) + (UNSIGNED_FIXNUM_ARG (2)
)))
#define ALIEN_ADDRESS_REF(type) (* (ALIEN_ADDRESS_LOC (type)))