From e8a18c771f247b5a804f5b7d7bfcf7c1d2467d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Mon, 14 Jan 2013 17:45:46 -0500 Subject: [PATCH] Bug 830485 - Style fix for hex parsing. r=vladan. --HG-- extra : rebase_source : e8f695fd759da7f6fa261e6cd5df68db2e2c2d0f --- tools/profiler/nsProfiler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/profiler/nsProfiler.cpp b/tools/profiler/nsProfiler.cpp index 5728a0eac4a..c44f1b9c7f8 100644 --- a/tools/profiler/nsProfiler.cpp +++ b/tools/profiler/nsProfiler.cpp @@ -130,8 +130,10 @@ AddSharedLibraryInfoToStream(std::ostream& aStream, const SharedLibrary& aLib) std::string pdbAgeStr = breakpadId.substr(32, breakpadId.size() - 1); std::stringstream stream; - stream << std::hex << pdbAgeStr; + stream << pdbAgeStr; + unsigned pdbAge; + stream << std::hex; stream >> pdbAge; #ifdef DEBUG