summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-29 03:28:39 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-29 03:28:39 +0000
commit1b0729ca6c3459848564a69d00dd8390a824eb72 (patch)
tree2ae0513a1ae115ebf2ea3039507eda4643475fbe
parent6a3c87572600a3672c1cb7a6c4584617c9cce008 (diff)
downloadATCD-1b0729ca6c3459848564a69d00dd8390a824eb72.tar.gz
(main): changed loop index i from u_int to int to avoid
signed/unsigned comparison.
-rw-r--r--TAO/tests/OctetSeq/OctetSeq.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/OctetSeq/OctetSeq.cpp b/TAO/tests/OctetSeq/OctetSeq.cpp
index df40b582c9f..688026fc0e6 100644
--- a/TAO/tests/OctetSeq/OctetSeq.cpp
+++ b/TAO/tests/OctetSeq/OctetSeq.cpp
@@ -3,7 +3,7 @@
// ============================================================================
//
// = LIBRARY
-// TAO/tests/CDR
+// TAO/tests/OctetSeq
//
// = FILENAME
// octetseq.cpp
@@ -212,7 +212,7 @@ main (int argc, char *argv[])
// Create a "big" buffer and fill it up.
char* buf = new char[hi];
CORBA::Long l = 0xdeadbeef;
- for (u_int i = 0; i < hi / sizeof (l); ++i)
+ for (int i = 0; i < hi / sizeof (l); ++i)
{
ACE_OS::memcpy (buf + sizeof (l) * i, &l, sizeof (l));
}