diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-01-10 16:59:27 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-01-10 16:59:27 +0000 |
commit | 6cbbe42c30689d1ad10fc9ff9f732b6f881ff981 (patch) | |
tree | 4fbe1bbf2143e5400ca14d10d0ae2b2ee4bd13f3 /cpp/src/IceGrid/FileCache.cpp | |
parent | minor fixes (diff) | |
download | ice-6cbbe42c30689d1ad10fc9ff9f732b6f881ff981.tar.bz2 ice-6cbbe42c30689d1ad10fc9ff9f732b6f881ff981.tar.xz ice-6cbbe42c30689d1ad10fc9ff9f732b6f881ff981.zip |
Fixed Sun compile error
Diffstat (limited to 'cpp/src/IceGrid/FileCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/FileCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/FileCache.cpp b/cpp/src/IceGrid/FileCache.cpp index 1023b396955..5c21387a1b7 100644 --- a/cpp/src/IceGrid/FileCache.cpp +++ b/cpp/src/IceGrid/FileCache.cpp @@ -70,7 +70,7 @@ FileCache::getOffsetFromEnd(const string& file, int originalCount) // deque<string> lines; int count = originalCount - totalCount; // Number of lines left to find. - while(is.good() && is.tellg() < lastBlockOffset) + while(is.good() && is.tellg() < static_cast<streampos>(lastBlockOffset)) { getline(is, line); |