Commit 769c5150 authored by con's avatar con
Browse files

debugger: handle large quint64 values 'properly'

(cherry picked from commit 02e90fd7)

Conflicts:

	src/plugins/debugger/watchhandler.cpp
parent 19063199
......@@ -608,7 +608,8 @@ static QString formattedValue(const WatchData &data,
const int format = individualFormat == -1 ? typeFormat : individualFormat;
if (format <= 0)
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);
} else {
return reformatInteger(data.value.toLongLong(), format);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment