summaryrefslogtreecommitdiff
path: root/src/FileEntry.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-07-21 08:56:16 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-07-21 08:56:16 +0000
commit6574e44f886740273676b6d73ef754385a36197f (patch)
treec13b2c6f1bb178bc5adae67f47549ea6a86d7ec4 /src/FileEntry.h
parentcd6b6e359135f88afffbaa31c126489aa9813571 (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/FileEntry.h')
-rw-r--r--src/FileEntry.h8
1 files changed, 4 insertions, 4 deletions
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; }