fix compile err on windows
This commit is contained in:
parent
b56e442478
commit
1b8ec19509
|
@ -1786,7 +1786,7 @@ void streamScanOperatorDecode(void* pBuff, int32_t len, SStreamScanInfo* pInfo)
|
||||||
}
|
}
|
||||||
void* buf = pBuff;
|
void* buf = pBuff;
|
||||||
buf = decodeSTimeWindowAggSupp(buf, &pInfo->twAggSup);
|
buf = decodeSTimeWindowAggSupp(buf, &pInfo->twAggSup);
|
||||||
int32_t tlen = len - (pBuff - buf);
|
int32_t tlen = len - ((char *)pBuff - (char *)buf); // fix windows compile error
|
||||||
|
|
||||||
void* pUpInfo = taosMemoryCalloc(1, sizeof(SUpdateInfo));
|
void* pUpInfo = taosMemoryCalloc(1, sizeof(SUpdateInfo));
|
||||||
int32_t code = pInfo->stateStore.updateInfoDeserialize(buf, tlen, pUpInfo);
|
int32_t code = pInfo->stateStore.updateInfoDeserialize(buf, tlen, pUpInfo);
|
||||||
|
|
Loading…
Reference in New Issue