diff --git a/include/bank.hpp b/include/bank.hpp index ca4cf2f..854fafb 100644 --- a/include/bank.hpp +++ b/include/bank.hpp @@ -101,7 +101,7 @@ public: return state; } - int_fast64_t GetBal(const std::string &name) const + Json::Value::asInt64 GetBal(const std::string &name) const { int_fast64_t res = -1; users.if_contains(name, [&res](const User &u) {