From 1d0956ababc407a08ed27fa1aa9c1f8a584586d8 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Mon, 14 Nov 2022 03:22:48 +0100 Subject: [PATCH] update to the new pikotools api: change converting functions to the snake case --- winixd/models/user.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }