clean up ThreadData

Reviewed-by: hjk
This commit is contained in:
Arvid Ephraim Picciani
2010-10-15 10:56:39 +02:00
parent 63bd3c2e51
commit 728ef58b16
5 changed files with 103 additions and 63 deletions

View File

@@ -3033,7 +3033,7 @@ void GdbEngine::handleThreadNames(const GdbResponse &response)
int id = name.findChild("id").data().toInt();
for (int index = 0, n = threads.size(); index != n; ++index) {
ThreadData & thread = threads[index];
if (thread.id == id) {
if (thread.id == (quint64)id) {
thread.name = decodeData(name.findChild("value").data(), name.findChild("valueencoded").data().toInt());
break;
}