summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 4d47dca1..f25c671c 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -5927,7 +5927,7 @@ void
utrace_var_expanding_copy_visitor::visit_target_symbol_arg (target_symbol* e)
{
string argnum_s = e->base_name.substr(4,e->base_name.length()-4);
- int argnum = atoi (argnum_s.c_str());
+ int argnum = lex_cast<int>(argnum_s);
if (flags != UDPF_SYSCALL)
throw semantic_error ("only \"process(PATH_OR_PID).syscall\" support $argN.", e->tok);