summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_stdio.h')
-rw-r--r--ACE/ace/OS_NS_stdio.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_stdio.h b/ACE/ace/OS_NS_stdio.h
index 761db883356..411c1e5ee58 100644
--- a/ACE/ace/OS_NS_stdio.h
+++ b/ACE/ace/OS_NS_stdio.h
@@ -27,7 +27,6 @@
#include "ace/os_include/os_stdio.h"
#include "ace/os_include/os_fcntl.h"
-#include "ace/os_include/os_inttypes.h"
#include /**/ "ace/ACE_export.h"
/* OPENVMS needs unistd for cuserid() */
@@ -118,7 +117,7 @@ inline ACE_HANDLE ace_fileno_helper (FILE *fp)
return (ACE_HANDLE)fileno (fp);
# undef fileno
# else
- return (ACE_HANDLE)(intptr_t)ACE_STD_NAMESPACE::fileno (fp);
+ return (ACE_HANDLE)ACE_STD_NAMESPACE::fileno (fp);
# endif /* defined (fileno) */
}
#endif /* !ACE_FILENO_EQUIVALENT */