mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 01:07:34 +02:00
Fix compiler error on 64-bit
This commit is contained in:
parent
28e329e08d
commit
5e087971e7
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ typedef long tag_type;
|
|||
*/
|
||||
#define obj_is_char(x) ((unsigned long)(x) & (unsigned long)1)
|
||||
#define obj_obj2char(x) (char)((long)(x)>>1)
|
||||
#define obj_char2obj(c) ((void *)(((c)<<1) | 1))
|
||||
#define obj_char2obj(c) ((void *)((((unsigned long)c)<<1) | 1))
|
||||
|
||||
#define is_value_type(x) obj_is_char(x)
|
||||
#define is_object_type(x) (x && !is_value_type(x))
|
||||
|
|
Loading…
Add table
Reference in a new issue