diff options
author | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-03-10 10:43:09 +0000 |
---|---|---|
committer | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-03-10 10:43:09 +0000 |
commit | 1c5af9504efb815507fe55b010557dd12954afd5 (patch) | |
tree | a8c9c1c07b6ddea4a8449d329c430ffbe436f600 /ACE/ace/OS_NS_netdb.inl | |
parent | 9cd0592be8d947bb7eb24d636a3e9e4819f57a87 (diff) | |
download | ATCD-1c5af9504efb815507fe55b010557dd12954afd5.tar.gz |
Thu Mar 10 10:37:44 UTC 2011 Vladimir Zykov <vladimir.zykov@prismtech.com>
* ace/OS_NS_netdb.inl:
* ace/Stack_Trace.cpp:
Fixed warnings on VxWorks.
* ace/ACE.cpp:
Added a cast for a type that is expected by printf to be long.
* examples/Timer_Queue/Custom_Handler.cpp:
* examples/Timer_Queue/Thread_Timer_Queue_Test.cpp:
Added casts for arguments to printf as it expects unsigned long.
Diffstat (limited to 'ACE/ace/OS_NS_netdb.inl')
-rw-r--r-- | ACE/ace/OS_NS_netdb.inl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ACE/ace/OS_NS_netdb.inl b/ACE/ace/OS_NS_netdb.inl index 317875b620e..93d7c17acae 100644 --- a/ACE/ace/OS_NS_netdb.inl +++ b/ACE/ace/OS_NS_netdb.inl @@ -143,6 +143,7 @@ ACE_OS::gethostbyaddr_r (const char *addr, else return (struct hostent *) 0; # elif defined (ACE_VXWORKS) + ACE_UNUSED_ARG (h_errnop); // VxWorks 6.x has a threadsafe gethostbyaddr() which returns a heap-allocated // data structure which needs to be freed with hostentFree() //FUZZ: disable check_for_lack_ACE_OS @@ -333,6 +334,7 @@ ACE_OS::gethostbyname_r (const char *name, else return (struct hostent *) 0; # elif defined (ACE_VXWORKS) + ACE_UNUSED_ARG (h_errnop); // VxWorks 6.x has a threadsafe gethostbyname() which returns a heap-allocated // data structure which needs to be freed with hostentFree() //FUZZ: disable check_for_lack_ACE_OS |