summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-23 16:04:19 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-23 16:04:19 +0000
commit6a1b8b8fb93a3dea89a1a3555b771c8c67626a94 (patch)
tree1ab17b198b61d1010fb2be281c3a3d1e33683933
parent9c942147b0dfc9a8fff95d05011454717eac993a (diff)
downloadATCD-6a1b8b8fb93a3dea89a1a3555b771c8c67626a94.tar.gz
(TEST_THIS): cast val to (type) before casting to (u_int), to try to avoid
DEC CXX compiler warning about integer overflow
-rw-r--r--tests/Env_Value_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Env_Value_Test.cpp b/tests/Env_Value_Test.cpp
index 8d681585b6f..ea5a73e6864 100644
--- a/tests/Env_Value_Test.cpp
+++ b/tests/Env_Value_Test.cpp
@@ -61,7 +61,7 @@ main (int argc, char *[])
{ \
ACE_ERROR ((LM_ERROR, \
"val %u does not match expected value of %u\n", \
- (u_int) val, (u_int) (expval))); \
+ (u_int) (type) val, (u_int) (expval))); \
} \
ACE_ASSERT (val == (expval)); \
} \