[TD-4426]<fix> fix compile error

This commit is contained in:
yihaoDeng 2021-06-05 11:35:26 +08:00
parent 9fe132abd4
commit b4b0e949b4
1 changed files with 1 additions and 2 deletions

View File

@ -168,11 +168,10 @@ bool serializeExprListToVariant(SArray* pList, tVariant **dst, int16_t colType)
} }
type = colType; type = colType;
SBufferWriter bw = tbufInitWriter( NULL, false ); SBufferWriter bw = tbufInitWriter( NULL, false );
tbufEnsureCapacity(&bw, 512); tbufEnsureCapacity(&bw, 512);
int32_t size = pList->size; int32_t size = (int32_t)(pList->size);
tbufWriteUint32(&bw, type); tbufWriteUint32(&bw, type);
tbufWriteInt32(&bw, size); tbufWriteInt32(&bw, size);