summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/FileCache.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-01-10 16:59:27 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-01-10 16:59:27 +0000
commit6cbbe42c30689d1ad10fc9ff9f732b6f881ff981 (patch)
tree4fbe1bbf2143e5400ca14d10d0ae2b2ee4bd13f3 /cpp/src/IceGrid/FileCache.cpp
parentminor fixes (diff)
downloadice-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.cpp2
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);