compile error for clang C
This commit is contained in:
parent
1bc3bf8f94
commit
6ef759cead
|
@ -142,7 +142,7 @@ static int32_t mnodeCreateCluster() {
|
||||||
SClusterObj *pCluster = malloc(sizeof(SClusterObj));
|
SClusterObj *pCluster = malloc(sizeof(SClusterObj));
|
||||||
memset(pCluster, 0, sizeof(SClusterObj));
|
memset(pCluster, 0, sizeof(SClusterObj));
|
||||||
pCluster->createdTime = taosGetTimestampMs();
|
pCluster->createdTime = taosGetTimestampMs();
|
||||||
pCluster->clusterId = abs(((pCluster->createdTime >> 32) & (pCluster->createdTime)) | (*(int32_t*)tsFirst));
|
pCluster->clusterId = labs((pCluster->createdTime >> 32) & (pCluster->createdTime)) | (*(int32_t*)tsFirst);
|
||||||
|
|
||||||
SSdbOper oper = {
|
SSdbOper oper = {
|
||||||
.type = SDB_OPER_GLOBAL,
|
.type = SDB_OPER_GLOBAL,
|
||||||
|
|
Loading…
Reference in New Issue