diff options
-rw-r--r-- | hierarchyviewer/src/com/android/hierarchyviewer/scene/WindowsLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hierarchyviewer/src/com/android/hierarchyviewer/scene/WindowsLoader.java b/hierarchyviewer/src/com/android/hierarchyviewer/scene/WindowsLoader.java index ef93707..d06aca6 100644 --- a/hierarchyviewer/src/com/android/hierarchyviewer/scene/WindowsLoader.java +++ b/hierarchyviewer/src/com/android/hierarchyviewer/scene/WindowsLoader.java @@ -58,7 +58,7 @@ public class WindowsLoader { int index = line.indexOf(' '); if (index != -1) { Window w = new Window(line.substring(index + 1), - Integer.parseInt(line.substring(0, index), 16)); + (int) Long.parseLong(line.substring(0, index), 16)); windows.add(w); } } |