[td-225]fix compiler error.
This commit is contained in:
parent
97ee48779c
commit
de6080af00
|
@ -3242,7 +3242,7 @@ static char* getResultBlockPosition(SSqlCmd* pCmd, SSqlRes* pRes, int32_t column
|
||||||
if (pRes->data != NULL) {
|
if (pRes->data != NULL) {
|
||||||
return pRes->data + pInfo->pExpr->base.offset * pRes->numOfRows + pRes->row * (*bytes);
|
return pRes->data + pInfo->pExpr->base.offset * pRes->numOfRows + pRes->row * (*bytes);
|
||||||
} else {
|
} else {
|
||||||
return pRes->urow[columnIndex] + pRes->row * (*bytes);
|
return ((char*)pRes->urow[columnIndex]) + pRes->row * (*bytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue