From a908e6737c5995bac68daf94d76fa1d0fb0a46bd Mon Sep 17 00:00:00 2001 From: Patrick Star <qtc-committer@nokia.com> Date: Tue, 9 Dec 2008 17:08:00 +0100 Subject: [PATCH] Fixes: - crash on windows --- src/plugins/debugger/watchhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index 07824735ebf..053fcadcd19 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -118,7 +118,7 @@ static QByteArray quoteUnprintable(const QByteArray &ba) QByteArray res; char buf[10]; for (int i = 0, n = ba.size(); i != n; ++i) { - char c = ba.at(i); + unsigned char c = ba.at(i); if (isprint(c)) { res += c; } else { -- GitLab