diff --git a/share/qtcreator/debugger/boosttypes.py b/share/qtcreator/debugger/boosttypes.py index 19f23724ccaa13a3e9de78077eeacdb65e1b5b30..1c111e453db57ab4a619a26110ce2742ad56f7a5 100644 --- a/share/qtcreator/debugger/boosttypes.py +++ b/share/qtcreator/debugger/boosttypes.py @@ -95,14 +95,14 @@ def qdump__boost__gregorian__date(d, value): d.putNumChild(0) -def qdump__boost__posix_time__ptime(d, item): - ms = int(item["time_"]["time_count_"]["value_"]) / 1000 +def qdump__boost__posix_time__ptime(d, value): + ms = int(int(value["time_"]["time_count_"]["value_"]) / 1000) d.putValue("%s/%s" % divmod(ms, 86400000), JulianDateAndMillisecondsSinceMidnight) d.putNumChild(0) -def qdump__boost__posix_time__time_duration(d, item): - d.putValue(int(item["ticks_"]["value_"]) / 1000, MillisecondsSinceMidnight) +def qdump__boost__posix_time__time_duration(d, value): + d.putValue(int(int(value["ticks_"]["value_"]) / 1000), MillisecondsSinceMidnight) d.putNumChild(0)