diff options
Diffstat (limited to 'lib/JsonScgiPeer.cpp')
| -rw-r--r-- | lib/JsonScgiPeer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
