From 6574e44f886740273676b6d73ef754385a36197f Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 21 Jul 2007 08:56:16 +0000 Subject: 2007-07-21 Tatsuhiro Tsujikawa Converted int's to in32_t. long long int's are also converted to int64_t --- src/FileEntry.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/FileEntry.h') diff --git a/src/FileEntry.h b/src/FileEntry.h index eb162bfe..b395ce84 100644 --- a/src/FileEntry.h +++ b/src/FileEntry.h @@ -48,7 +48,7 @@ private: public: FileEntry():length(0), offset(0), extracted(false), requested(false) {} - FileEntry(const string& path, long long int length, long long int offset); + FileEntry(const string& path, int64_t length, int64_t offset); FileEntry& operator=(const FileEntry& entry) { @@ -80,11 +80,11 @@ public: int64_t getLength() const { return length; } - void setLength(long long int length) { this->length = length; } + void setLength(int64_t length) { this->length = length; } - long long int getOffset() const { return offset; } + int64_t getOffset() const { return offset; } - void setOffset(long long int offset) { this->offset = offset; } + void setOffset(int64_t offset) { this->offset = offset; } bool isExtracted() const { return extracted; } -- cgit