This commit is contained in:
Haojun Liao 2020-10-21 15:48:16 +08:00
parent c3a31c681d
commit fccb4851de
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ void tMemBucketDestroy(tMemBucket *pBucket) {
taosTFree(pBucket); taosTFree(pBucket);
} }
void tMemBucketUpdateBoundingBox(MinMaxEntry *r, char *data, int32_t dataType) { void tMemBucketUpdateBoundingBox(MinMaxEntry *r, const char *data, int32_t dataType) {
switch (dataType) { switch (dataType) {
case TSDB_DATA_TYPE_INT: { case TSDB_DATA_TYPE_INT: {
int32_t val = *(int32_t *)data; int32_t val = *(int32_t *)data;