Skip to content
Snippets Groups Projects
Commit 02e90fd7 authored by hjk's avatar hjk
Browse files

debugger: handle large quint64 values 'properly'

parent 1c94133b
No related branches found
No related tags found
No related merge requests found
...@@ -632,7 +632,8 @@ static QString formattedValue(const WatchData &data, int format) ...@@ -632,7 +632,8 @@ static QString formattedValue(const WatchData &data, int format)
if (isIntType(data.type)) { if (isIntType(data.type)) {
if (format <= 0) if (format <= 0)
return data.value; return data.value;
if (data.type.contains(QLatin1String("unsigned"))) // Evil hack, covers 'unsigned' as well as quint64.
if (data.type.contains(QLatin1Char('u')))
return reformatInteger(data.value.toULongLong(), format); return reformatInteger(data.value.toULongLong(), format);
return reformatInteger(data.value.toLongLong(), format); return reformatInteger(data.value.toLongLong(), format);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment