diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-07-21 08:56:16 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-07-21 08:56:16 +0000 |
| commit | 6574e44f886740273676b6d73ef754385a36197f (patch) | |
| tree | c13b2c6f1bb178bc5adae67f47549ea6a86d7ec4 /src/HttpHeader.cc | |
| parent | cd6b6e359135f88afffbaa31c126489aa9813571 (diff) | |
2007-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Converted int's to in32_t. long long int's are also converted to
int64_t
Diffstat (limited to 'src/HttpHeader.cc')
| -rw-r--r-- | src/HttpHeader.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 9cf6b002..630fcec1 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -61,11 +61,11 @@ Strings HttpHeader::get(const string& name) const { return v; } -int HttpHeader::getFirstAsInt(const string& name) const { - return (int)getFirstAsLLInt(name); +int32_t HttpHeader::getFirstAsInt(const string& name) const { + return getFirstAsLLInt(name); } -long long int HttpHeader::getFirstAsLLInt(const string& name) const { +int64_t HttpHeader::getFirstAsLLInt(const string& name) const { string value = getFirst(name); if(value == "") { return 0; |
