diff --git a/src/util/src/tfile.c b/src/util/src/tfile.c index 49b28dad6f9d11d24f0908b67ee50bb229a440d1..1fa6a3d096841f6b9405704bbaa0e302f536f2ce 100644 --- a/src/util/src/tfile.c +++ b/src/util/src/tfile.c @@ -106,7 +106,7 @@ bool tfValid(int64_t tfd) { return p != NULL; } -int32_t tfLseek(int64_t tfd, int64_t offset, int32_t whence) { +int64_t tfLseek(int64_t tfd, int64_t offset, int32_t whence) { void *p = taosAcquireRef(tsFileRsetId, tfd); if (p == NULL) return -1;