commit | cc8c35cee5de7fdf2d79a1a3716120b64301cdfe | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Queru <jbq@google.com> | Thu Nov 12 18:45:53 2009 -0800 |
committer | Jean-Baptiste Queru <jbq@google.com> | Fri Nov 13 13:53:39 2009 -0800 |
tree | a9acd18ab5526d297928f96c094ca22eaa33e593 | |
parent | cdcee265cad1fe10960bd3df32ac76c4afbd3963 [diff] [blame] |
eclair snapshot
diff --git a/libs/utils/CallStack.cpp b/libs/utils/CallStack.cpp index 2fdaa71..55b6024 100644 --- a/libs/utils/CallStack.cpp +++ b/libs/utils/CallStack.cpp
@@ -311,7 +311,8 @@ } else { void const* start = 0; name = MapInfo::mapAddressToName(ip, "<unknown>", &start); - snprintf(tmp, 256, "pc %08lx %s", uintptr_t(ip)-uintptr_t(start), name); + snprintf(tmp, 256, "pc %08lx %s", + long(uintptr_t(ip)-uintptr_t(start)), name); res.append(tmp); } res.append("\n");