summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Default_Servant/File_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/Default_Servant/File_i.cpp')
-rw-r--r--TAO/examples/POA/Default_Servant/File_i.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/examples/POA/Default_Servant/File_i.cpp b/TAO/examples/POA/Default_Servant/File_i.cpp
index ddc1eae501a..3e7e3694411 100644
--- a/TAO/examples/POA/Default_Servant/File_i.cpp
+++ b/TAO/examples/POA/Default_Servant/File_i.cpp
@@ -68,7 +68,7 @@ FileImpl::System::open (const char *file_name,
// convert ACE_HANDLE to a string
ACE_OS::sprintf (file_descriptor_buffer,
"%ld",
- (long int) file_descriptor);
+ CORBA::Long(file_descriptor));
//Create an objectID from the ACE_HANDLE string
PortableServer::ObjectId_var oid =