fix: fix compiler warning in taosudf.h
This commit is contained in:
parent
da74ede563
commit
220709c9ae
|
@ -228,7 +228,7 @@ static FORCE_INLINE int32_t udfColDataSet(SUdfColumn *pColumn, uint32_t currentR
|
||||||
newSize = 8;
|
newSize = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (newSize < data->varLenCol.payloadLen + dataLen) {
|
while (newSize < (uint32_t)(data->varLenCol.payloadLen + dataLen)) {
|
||||||
newSize = newSize * UDF_MEMORY_EXP_GROWTH;
|
newSize = newSize * UDF_MEMORY_EXP_GROWTH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -248,7 +248,7 @@ static FORCE_INLINE int32_t udfColDataSet(SUdfColumn *pColumn, uint32_t currentR
|
||||||
data->varLenCol.payloadLen += dataLen;
|
data->varLenCol.payloadLen += dataLen;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
data->numOfRows = (currentRow + 1 > data->numOfRows) ? (currentRow + 1) : data->numOfRows;
|
data->numOfRows = ((int32_t)(currentRow + 1) > data->numOfRows) ? (int32_t)(currentRow + 1) : data->numOfRows;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue