diff --git a/src/pgduckdb_options.cpp b/src/pgduckdb_options.cpp index 8d56e64b..bc4b81a3 100644 --- a/src/pgduckdb_options.cpp +++ b/src/pgduckdb_options.cpp @@ -264,8 +264,8 @@ DuckdbGetCachedFilesInfos() { p.path().c_str()); break; } - cache_info.push_back(CacheFileInfo {metadata_tokens[0], metadata_tokens[1], std::stoi(metadata_tokens[2]), - std::stoi(metadata_tokens[3])}); + cache_info.push_back(CacheFileInfo {metadata_tokens[0], metadata_tokens[1], std::stoll(metadata_tokens[2]), + std::stoll(metadata_tokens[3])}); } } return cache_info;