diff --git a/db/db.cpp b/db/db.cpp index 191ae4e..dfe7737 100755 --- a/db/db.cpp +++ b/db/db.cpp @@ -1419,7 +1419,7 @@ void Db::GetUsers(UGContainer & user_tab) if( u.id != last_id ) { u.name = AssertValueWide(r, i, cname); - u.super_user = static_cast(AssertValueInt(r, i, csuper_user)); + u.super_user = AssertValueBool(r, i, csuper_user); u.email = AssertValueWide(r, i, cemail); u.notify = AssertValueInt(r, i, cnotify);