fix: typo of ol

This commit is contained in:
kailixu 2023-09-20 16:28:36 +08:00
parent 3bb5a5f1d4
commit 0800698774
1 changed files with 2 additions and 2 deletions

View File

@ -533,8 +533,8 @@ int64_t taosPWriteFile(TdFilePtr pFile, const void *buf, int64_t count, int64_t
#ifdef WINDOWS
int64_t ret = 0;
OVERLAPPED ol = {0};
pl.OffsetHigh = (uint32_t)((offset & 0xFFFFFFFF00000000LL) >> 0x20);
pl.Offset = (uint32_t)(offset & 0xFFFFFFFFLL);
ol.OffsetHigh = (uint32_t)((offset & 0xFFFFFFFF00000000LL) >> 0x20);
ol.Offset = (uint32_t)(offset & 0xFFFFFFFFLL);
HANDLE handle = (HANDLE)_get_osfhandle(pFile->fd);
SetLastError(0);