diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-30 02:11:48 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-30 02:11:48 +0000 |
commit | 00a32eebcb4913c9bb07e92ef1c03b61dcdfbf99 (patch) | |
tree | 23461efd43eca6d0b818cc7a0963d84041d20bdb | |
parent | f777fc79184a1c7bf688769a3a1b530eb3f831b3 (diff) | |
download | ATCD-00a32eebcb4913c9bb07e92ef1c03b61dcdfbf99.tar.gz |
(main): cast sizeof to int to avoid egcs warning about signed/unsigned
comparison.
-rw-r--r-- | TAO/tests/OctetSeq/OctetSeq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tests/OctetSeq/OctetSeq.cpp b/TAO/tests/OctetSeq/OctetSeq.cpp index 688026fc0e6..dacfc6abe68 100644 --- a/TAO/tests/OctetSeq/OctetSeq.cpp +++ b/TAO/tests/OctetSeq/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 (int i = 0; i < hi / sizeof (l); ++i) + for (int i = 0; i < hi / (int) sizeof (l); ++i) { ACE_OS::memcpy (buf + sizeof (l) * i, &l, sizeof (l)); } |