From be1ff5dc5ca58430e3c5d4baf752125e244e902b Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Wed, 7 Apr 2021 00:30:08 -0700 Subject: [PATCH] reverted last two changes --- include/bank_f.hpp | 2 +- include/user.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bank_f.hpp b/include/bank_f.hpp index b0c6511..f12c689 100644 --- a/include/bank_f.hpp +++ b/include/bank_f.hpp @@ -21,7 +21,7 @@ INLINE Json::Value JsonReturn(T &&val) } else { - res["value"] = (long)val; + res["value"] = val; } return res; } diff --git a/include/user.hpp b/include/user.hpp index 52b8f59..186ba51 100644 --- a/include/user.hpp +++ b/include/user.hpp @@ -25,7 +25,7 @@ struct User Json::Value Serialize() const { Json::Value res; - res["balance"] = (long)balance; + res["balance"] = balance; res["password"] = password; return res; }