mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 12:35:05 +02:00
Issue #351 - Avoid compiler warnings from clang
This commit is contained in:
parent
d72f8b7b96
commit
905bf9b330
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ typedef uint32_t char_type;
|
||||||
* Convert from an integer to an object.
|
* Convert from an integer to an object.
|
||||||
*/
|
*/
|
||||||
//#define obj_int2obj(n) ((void *) ((((long)(n))*(long)(1uL<<1)) | 1))
|
//#define obj_int2obj(n) ((void *) ((((long)(n))*(long)(1uL<<1)) | 1))
|
||||||
#define obj_int2obj(c) ((void *)((((long)c)<<1) | 1))
|
#define obj_int2obj(c) ((void *)((((long)c)*2) | 1))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if the object is a char.
|
* Determine if the object is a char.
|
||||||
|
|
Loading…
Add table
Reference in a new issue