commit | f34a7bf976e68e813eac9950d2bf134dea9ac333 | [log] [tgz] |
---|---|---|
author | Aaron Germuth <germuth@google.com> | Wed Nov 16 19:04:47 2016 -0800 |
committer | Aaron Germuth <germuth@google.com> | Wed Nov 16 19:29:45 2016 -0800 |
tree | d061578881886d46feb1e023b2399eee2a6056b2 | |
parent | da755a2ae45f4b8492466fb716c1e3bc30c341cb [diff] |
statpitcher: convert values from hex In reference to https://buganizer.corp.google.com/issues/32948199 Change-Id: Ib9fb9b3a8ecb43663e5656424164a3d6ef493eea
diff --git a/cmds/statpitcher.cc b/cmds/statpitcher.cc index 0a19443..27dd171 100644 --- a/cmds/statpitcher.cc +++ b/cmds/statpitcher.cc
@@ -173,7 +173,7 @@ if (pipe) { char buffer[128]; if (fgets(buffer, 128, pipe.get()) != NULL) { - std::istringstream(buffer) >> ret; + std::istringstream(buffer) >> std::hex >> ret; } } return ret;