浏览代码

HPCC-12674 Fix regression from previous pull request

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 10 年之前
父节点
当前提交
b59ae61fa7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roxie/roxiemem/roxiemem.cpp

+ 1 - 1
roxie/roxiemem/roxiemem.cpp

@@ -987,7 +987,7 @@ public:
 #define RBLOCKS_CAS_TAG_MASK   ~RBLOCKS_OFFSET_MASK
 #define ROWCOUNT_MASK            0x7fffffff
 #define ROWCOUNT_DESTRUCTOR_FLAG 0x80000000
-#define ROWCOUNT(x)              (x & ROWCOUNT_MASK)
+#define ROWCOUNT(x)              ((x) & ROWCOUNT_MASK)
 
 #define CACHE_LINE_SIZE 64
 #define HEAPLET_DATA_AREA_OFFSET(heapletType) ((size32_t) ((sizeof(heapletType) + CACHE_LINE_SIZE - 1) / CACHE_LINE_SIZE) * CACHE_LINE_SIZE)