diff --git a/src/kits/network/libnetapi/HttpRequest.cpp b/src/kits/network/libnetapi/HttpRequest.cpp index 79db758431..8b06851990 100644 --- a/src/kits/network/libnetapi/HttpRequest.cpp +++ b/src/kits/network/libnetapi/HttpRequest.cpp @@ -1038,7 +1038,7 @@ BHttpRequest::_SendPostData() B_READ_ONLY); char readBuffer[kHttpBufferSize]; ssize_t readSize; - ssize_t totalSize; + off_t totalSize; if (upFile.GetSize(&totalSize) != B_OK) ASSERT(0);