summaryrefslogtreecommitdiff
path: root/src/HttpConnection.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
commit032c7c28083e17bdcfd763b3cf81447b06a07978 (patch)
treee5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/HttpConnection.cc
parentca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff)
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
Diffstat (limited to 'src/HttpConnection.cc')
-rw-r--r--src/HttpConnection.cc4
1 files changed, 2 insertions, 2 deletions
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);