X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=include%2Fcommon.h;h=5bc2a6f5ff321f3af65ae6016cb37ae991714cec;hp=477462842d8b5ac69bbe97cad61082f532439898;hb=d61d7ffdfa8fab555a5086e61d2e9dfe699a14b9;hpb=af2000653f50ce43e94bfd260ce47e4b53ab2222 diff --git a/include/common.h b/include/common.h index 4774628..5bc2a6f 100644 --- a/include/common.h +++ b/include/common.h @@ -35,7 +35,7 @@ #define MASK(n) ((1LL << (n)) - 1) #define TAG (1LL << 63) -#define IS_TAGGED(v) ((uint64_t)(v) < 0) +#define IS_TAGGED(v) ((int64_t)(v) < 0) #define TAG_VALUE(v) ((uint64_t)(v) | TAG) #define STRIP_TAG(v) ((uint64_t)(v) & ~TAG)