[td-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-04-25 22:26:38 +08:00
parent 97ee48779c
commit de6080af00
1 changed files with 1 additions and 1 deletions

View File

@ -3242,7 +3242,7 @@ static char* getResultBlockPosition(SSqlCmd* pCmd, SSqlRes* pRes, int32_t column
if (pRes->data != NULL) {
return pRes->data + pInfo->pExpr->base.offset * pRes->numOfRows + pRes->row * (*bytes);
} else {
return pRes->urow[columnIndex] + pRes->row * (*bytes);
return ((char*)pRes->urow[columnIndex]) + pRes->row * (*bytes);
}
}