From 032c7c28083e17bdcfd763b3cf81447b06a07978 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 9 Mar 2008 12:24:01 +0000 Subject: 2008-03-09 Tatsuhiro Tsujikawa type cleanup for allmost all remaining files. --- src/HttpConnection.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/HttpConnection.cc') diff --git a/src/HttpConnection.cc b/src/HttpConnection.cc index cd00a057..52e3bfcb 100644 --- a/src/HttpConnection.cc +++ b/src/HttpConnection.cc @@ -118,7 +118,7 @@ HttpResponseHandle HttpConnection::receiveResponse() HttpHeaderProcessorHandle proc = entry->getHttpHeaderProcessor(); unsigned char buf[512]; - int32_t size = sizeof(buf); + size_t size = sizeof(buf); socket->peekData(buf, size); if(size == 0) { throw new DlRetryEx(EX_INVALID_RESPONSE); @@ -128,7 +128,7 @@ HttpResponseHandle HttpConnection::receiveResponse() socket->readData(buf, size); return 0; } - int32_t putbackDataLength = proc->getPutBackDataLength(); + size_t putbackDataLength = proc->getPutBackDataLength(); size -= putbackDataLength; socket->readData(buf, size); -- cgit