diff options
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.cpp | 4 |
1 files changed, 2 insertions, 2 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 d5bab7f1ef8..1b32514882c 100644 --- a/TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp +++ b/TAO/examples/Content_Server/SMI_Iterator/Content_Iterator_i.cpp @@ -43,12 +43,12 @@ Content_Iterator_i::next_chunk (CORBA::ULongLong offset, if (offset >= this->file_size_) return 0; // Applications shouldn't throw system exceptions. - off_t real_offset = + ACE_OFF_T real_offset = ACE_OS::lseek (this->file_io_.get_handle (), offset, SEEK_SET); - if (real_offset == (off_t) -1) + if (real_offset == static_cast<ACE_OFF_T> (-1)) { // Invalid supplied offset? |