Skip to content

Commit

Permalink
change stoi to stoul (#2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qewby committed Aug 6, 2024
1 parent f743cfd commit 0546032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orm_lib/inc/drogon/orm/Field.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ inline unsigned int Field::as<unsigned int>() const
if (isNull())
return 0;
return static_cast<unsigned int>(
std::stoi(result_.getValue(row_, column_)));
std::stoul(result_.getValue(row_, column_)));
}

template <>
Expand Down

0 comments on commit 0546032

Please sign in to comment.