diff options
| author | 2009-05-27 14:34:50 -0700 | |
|---|---|---|
| committer | 2009-05-27 14:34:50 -0700 | |
| commit | 723ec00af46d1f95d69fe5af53e0a5d09f01a7d6 (patch) | |
| tree | ef596c117b8f11f8025770c52baeac04b2e4551a /libs/utils/CallStack.cpp | |
| parent | 310f8da0c3122ed5419db8f12a6e98d3188325b2 (diff) | |
| parent | 39afd5f7daaa525adaf38caf4a48d2cb22e0a41d (diff) | |
Merge commit 'goog/master' into merge_master
Conflicts:
include/ui/Rect.h
libs/ui/ISurfaceComposer.cpp
Diffstat (limited to 'libs/utils/CallStack.cpp')
| -rw-r--r-- | libs/utils/CallStack.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/utils/CallStack.cpp b/libs/utils/CallStack.cpp index 2fdaa71186..55b6024f63 100644 --- a/libs/utils/CallStack.cpp +++ b/libs/utils/CallStack.cpp @@ -311,7 +311,8 @@ String8 CallStack::toStringSingleLevel(const char* prefix, int32_t level) const } 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"); |