diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-09-12 13:20:10 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-09-12 13:20:10 -0400 |
commit | 3a4e19b8a7d12cb7e3b82b523bd47b9ae9ff9487 (patch) | |
tree | 6239528f4fa8427847fe3444d0784640f8550c69 /tapsets.cxx | |
parent | 8807cc2bee27f6528a23a0267eb2d3e3e6dd0628 (diff) | |
download | systemtap-steved-3a4e19b8a7d12cb7e3b82b523bd47b9ae9ff9487.tar.gz systemtap-steved-3a4e19b8a7d12cb7e3b82b523bd47b9ae9ff9487.tar.xz systemtap-steved-3a4e19b8a7d12cb7e3b82b523bd47b9ae9ff9487.zip |
gcc 4.4 build compatibility tweaks
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 2 |
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); |