From 0546032edcd205aefabd8dc0cae7d4cab1a336bc Mon Sep 17 00:00:00 2001 From: Bohdan Tsehelnyk <38397084+Qewby@users.noreply.github.com> Date: Tue, 6 Aug 2024 12:16:06 +0300 Subject: [PATCH] change stoi to stoul (#2115) --- orm_lib/inc/drogon/orm/Field.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orm_lib/inc/drogon/orm/Field.h b/orm_lib/inc/drogon/orm/Field.h index 7f933ba532..53b2dbc73f 100644 --- a/orm_lib/inc/drogon/orm/Field.h +++ b/orm_lib/inc/drogon/orm/Field.h @@ -245,7 +245,7 @@ inline unsigned int Field::as() const if (isNull()) return 0; return static_cast( - std::stoi(result_.getValue(row_, column_))); + std::stoul(result_.getValue(row_, column_))); } template <>