[fix](compile) failed on MacOS because size_t is not uint64_t on MacOS (#39296) (#40720)

pick #39296 to branch-2.1

Co-authored-by: morrySnow <101034200+morrySnow@users.noreply.github.com>
This commit is contained in:
camby
2024-09-12 18:47:59 +08:00
committed by GitHub
parent 3484a6cfe3
commit ed76b0c5f5

View File

@ -347,7 +347,7 @@ struct WindowFunnelState {
read_var_int(mode, in);
window_funnel_mode = static_cast<WindowFunnelMode>(mode);
}
size_t data_bytes = 0;
uint64_t data_bytes = 0;
read_var_uint(data_bytes, in);
std::string buff;
buff.resize(data_bytes);