diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-02-08 08:20:55 -0700 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-02-08 08:20:55 -0700 |
commit | 0aea5f29e37f5d46c45e9f9008098181536caf49 (patch) | |
tree | 28b10f646691228a3a27f57fcf906c200cc00884 | |
parent | 0235ad6d034dcf313862cc93c463363c1e1d12e8 (diff) |
debug-viewer; Store thread as long instead of int
On 64-bit platforms, the thread id can be over 2^32 so use a long
to handle it.
-rw-r--r-- | debug-viewer/GstDebugViewer/Data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug-viewer/GstDebugViewer/Data.py b/debug-viewer/GstDebugViewer/Data.py index 567c018..f6873bf 100644 --- a/debug-viewer/GstDebugViewer/Data.py +++ b/debug-viewer/GstDebugViewer/Data.py @@ -392,7 +392,7 @@ class LogLine (list): # PID. line[1] = int(line[1]) # Thread. - line[2] = int(line[2], 16) + line[2] = long(line[2], 16) # Level (this is handled in LineCache). line[3] = 0 # Line. |