diff options
Diffstat (limited to 'byterun/io.h')
-rw-r--r-- | byterun/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/io.h b/byterun/io.h index 1df9891f0..ee6ae4016 100644 --- a/byterun/io.h +++ b/byterun/io.h @@ -70,7 +70,7 @@ int really_getblock (struct channel *, char *, long); /* Extract a struct channel * from the heap object representing it */ -#define Channel(v) ((struct channel *) Field(v, 1)) +#define Channel(v) (*((struct channel **) (Data_custom_val(v)))) /* The locking machinery */ |