]> pd.if.org Git - nbds/blobdiff - include/common.h
add beginings of transactional ht
[nbds] / include / common.h
index 477462842d8b5ac69bbe97cad61082f532439898..5bc2a6f5ff321f3af65ae6016cb37ae991714cec 100644 (file)
@@ -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)