diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 43b63de935..a2d02be683 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -1490,7 +1490,7 @@ int32_t taosCheckGlobalCfg() { tsHttpPort = tsServerPort + TSDB_PORT_HTTP; if (tsQueryBufferSize >= 0) { - tsQueryBufferSizeBytes = tsQueryBufferSize * 1048576; + tsQueryBufferSizeBytes = tsQueryBufferSize * 1048576UL; } taosPrintGlobalCfg();