diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-10-14 10:52:09 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-10-14 10:52:09 +0000 |
commit | ee78a4decd9ecb21d0e7144ebbaeab14596891d2 (patch) | |
tree | 581e5c5002dc0b9d632f598bd97c4382143dfa1f /ace/OS_NS_unistd.inl | |
parent | bc3b4148873fd08b3e9264eed1dee67bd93db5dd (diff) | |
download | ATCD-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.inl | 6 |
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 |