diff --git a/winixd/models/user.cpp b/winixd/models/user.cpp index 6dddffc..fb2b041 100644 --- a/winixd/models/user.cpp +++ b/winixd/models/user.cpp @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2012-2021, Tomasz Sowa + * Copyright (c) 2012-2022, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -212,7 +212,7 @@ void User::id_is(EzcEnv & env) { if( !env.par.empty() ) { - long par_user_id = pt::Tol(env.par.c_str()); + long par_user_id = pt::to_l(env.par); env.res = id == par_user_id; } }