Commit a908e673 authored by Patrick Star's avatar Patrick Star
Browse files

Fixes: - crash on windows

parent bbc97c39
...@@ -118,7 +118,7 @@ static QByteArray quoteUnprintable(const QByteArray &ba) ...@@ -118,7 +118,7 @@ static QByteArray quoteUnprintable(const QByteArray &ba)
QByteArray res; QByteArray res;
char buf[10]; char buf[10];
for (int i = 0, n = ba.size(); i != n; ++i) { for (int i = 0, n = ba.size(); i != n; ++i) {
char c = ba.at(i); unsigned char c = ba.at(i);
if (isprint(c)) { if (isprint(c)) {
res += c; res += c;
} else { } else {
......
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