From 4a5049a834b45f9a75d0f622bac45e77a42d3cf3 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 15 Jun 2012 03:23:43 +0200 Subject: That one too. --- lib/JsonScgiPeer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/JsonScgiPeer.cpp b/lib/JsonScgiPeer.cpp index 7b984f8..81971e7 100644 --- a/lib/JsonScgiPeer.cpp +++ b/lib/JsonScgiPeer.cpp @@ -62,7 +62,7 @@ void JsonScgiPeer::parseScgiHeader() if (i == -1) return; bool ok; - m_jsonOffset = m_inputBuffer.left(i).toInt(&ok) + 2 + i; + m_jsonOffset = m_inputBuffer.left(i).toUInt(&ok) + 2 + i; if (!ok) return; -- cgit v1.2.3-59-g8ed1b