diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-30 19:32:42 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-30 19:32:42 +0000 |
commit | 6a4d079a1330b91c50af8909ddd673f65e667fec (patch) | |
tree | a5f7df2c92c6559d1d97ae740e6ec283553fceaa /ace/Handle_Set.cpp | |
parent | 318ea665ab5316e3d40ba4a6aca7715f174ff072 (diff) | |
download | ATCD-6a4d079a1330b91c50af8909ddd673f65e667fec.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Handle_Set.cpp')
-rw-r--r-- | ace/Handle_Set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Handle_Set.cpp b/ace/Handle_Set.cpp index 28858db233f..ce5ce1af3fa 100644 --- a/ace/Handle_Set.cpp +++ b/ace/Handle_Set.cpp @@ -89,7 +89,7 @@ ACE_Handle_Set::count_bits (u_long n) const ACE_TRACE ("ACE_Handle_Set::count_bits"); int rval = 0; - for (int i = 0; i < sizeof (u_long); i++) + for (int i = 0; n != 0; i++) { rval += ACE_Handle_Set::nbits_[n & 0xff]; n >>= 8; |