summaryrefslogtreecommitdiff
path: root/ace/OS_NS_unistd.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-10-14 10:52:09 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-10-14 10:52:09 +0000
commitee78a4decd9ecb21d0e7144ebbaeab14596891d2 (patch)
tree581e5c5002dc0b9d632f598bd97c4382143dfa1f /ace/OS_NS_unistd.inl
parentbc3b4148873fd08b3e9264eed1dee67bd93db5dd (diff)
downloadATCD-ee78a4decd9ecb21d0e7144ebbaeab14596891d2.tar.gz
ChangeLogTag: Fri Oct 14 09:39:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/OS_NS_unistd.inl')
-rw-r--r--ace/OS_NS_unistd.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/OS_NS_unistd.inl b/ace/OS_NS_unistd.inl
index 24aaaa3451c..1b6b9a6407d 100644
--- a/ace/OS_NS_unistd.inl
+++ b/ace/OS_NS_unistd.inl
@@ -78,16 +78,16 @@ ACE_OS::alarm (u_int secs)
#endif /* ACE_WIN32 || VXWORKS || CHORUS || ACE_PSOS */
}
-ACE_INLINE int
+ACE_INLINE long
ACE_OS::getpagesize (void)
{
ACE_OS_TRACE ("ACE_OS::getpagesize");
#if defined (ACE_WIN32) && !defined (ACE_HAS_PHARLAP)
SYSTEM_INFO sys_info;
::GetSystemInfo (&sys_info);
- return (int) sys_info.dwPageSize;
+ return (long) sys_info.dwPageSize;
#elif defined (_SC_PAGESIZE)
- return (int) ::sysconf (_SC_PAGESIZE);
+ return ::sysconf (_SC_PAGESIZE);
#elif defined (ACE_HAS_GETPAGESIZE)
return ::getpagesize ();
#else