diff --git a/src/pq_flash_index.cpp b/src/pq_flash_index.cpp index d30cd6ed9..b74c96257 100644 --- a/src/pq_flash_index.cpp +++ b/src/pq_flash_index.cpp @@ -735,7 +735,7 @@ void PQFlashIndex::parse_label_file(const std::string &label_file, si template void PQFlashIndex::set_universal_label(const LabelT &label) { _use_universal_label = true; - _universal_filter_num = (uint32_t)temp_filter_num; + _universal_filter_num = (uint32_t)label; } #ifdef EXEC_ENV_OLS