From 2b2b6f75a19ee59b3356d58e68a36edb80249d76 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 12 Mar 2025 00:55:21 +0000 Subject: [PATCH] Fix the id data type in db_flatfile. --- modules/database/db_flatfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/database/db_flatfile.cpp b/modules/database/db_flatfile.cpp index 4a1e8830d..dace35d5e 100644 --- a/modules/database/db_flatfile.cpp +++ b/modules/database/db_flatfile.cpp @@ -39,7 +39,7 @@ class LoadData final { public: std::fstream *fs = nullptr; - unsigned int id = 0; + uint64_t id = 0; std::map data; std::stringstream ss; bool read = false; @@ -52,7 +52,7 @@ public: { if (token.find("ID ") == 0) { - this->id = Anope::Convert(token.substr(3), 0); + this->id = Anope::Convert(token.substr(3), 0); continue; } else if (token.find("DATA ") != 0)