diff options
Diffstat (limited to 'src/http/qhttp/private/httpreader.hxx')
-rw-r--r-- | src/http/qhttp/private/httpreader.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/qhttp/private/httpreader.hxx b/src/http/qhttp/private/httpreader.hxx index 174b31a95..338ed2a2f 100644 --- a/src/http/qhttp/private/httpreader.hxx +++ b/src/http/qhttp/private/httpreader.hxx @@ -41,7 +41,7 @@ public: if ( !icollectRequired ) // not allowed to collect data return false; - int newLength = icollectedData.length() + (int) length; + int newLength = icollectedData.length() + static_cast<int>(length); if ( icollectCapacity > 0 && newLength > icollectCapacity ) return false; // the capacity is full |