summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-16 16:52:18 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-16 16:52:18 +0000
commitf63ca383842037310a3f4dc4e79d528974a5a840 (patch)
tree2510dadba1998fc2661aacccd721dc8a666c9eae /tests
parent00c8fff3acf728b9ef297ebff5afd1345e365a45 (diff)
downloadATCD-f63ca383842037310a3f4dc4e79d528974a5a840.tar.gz
ChangeLogTag:Fri Jul 16 11:50:24 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/Basic_Types_Test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Basic_Types_Test.cpp b/tests/Basic_Types_Test.cpp
index 3bf1b41653e..de8bf8d898c 100644
--- a/tests/Basic_Types_Test.cpp
+++ b/tests/Basic_Types_Test.cpp
@@ -153,11 +153,11 @@ main (int, ASYS_TCHAR *[])
else
ACE_ERROR ((LM_ERROR, ASYS_TEXT ("sizeof (long) != sizeof (void*)\n")));
- // ACE assumes sizeof (long) == sizeof (a_function_pointer)
- if (sizeof (long) == sizeof (a_function_pointer))
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("sizeof (long) == sizeof (a_function_pointer)\n")));
+ // ACE assumes sizeof (long) >= sizeof (a_function_pointer)
+ if (sizeof (long) >= sizeof (a_function_pointer))
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("sizeof (long) >= sizeof (a_function_pointer)\n")));
else
- ACE_ERROR ((LM_ERROR, ASYS_TEXT ("sizeof (long) != sizeof (a_function_pointer)\n")));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("sizeof (long) < sizeof (a_function_pointer)\n")));
#if defined (ACE_LITTLE_ENDIAN)
ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("little endian\n")));