summaryrefslogtreecommitdiff
path: root/TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp')
-rw-r--r--TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp b/TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp
index 1b32514882c..4ca7e00bedb 100644
--- a/TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp
+++ b/TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp
@@ -45,7 +45,7 @@ Content_Iterator_i::next_chunk (CORBA::ULongLong offset,
ACE_OFF_T real_offset =
ACE_OS::lseek (this->file_io_.get_handle (),
- offset,
+ static_cast<ACE_OFF_T> (offset),
SEEK_SET);
if (real_offset == static_cast<ACE_OFF_T> (-1))