diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-31 13:52:10 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-31 13:52:10 +0000 |
commit | 99662abeaff5296ac280f02f3d96a73244807284 (patch) | |
tree | 1650abb925dee02e682864ebc616c030f72e790d /ace/ACE.i | |
parent | e7109d9b33ca2ad11eaa20e46a966a2199a8d002 (diff) | |
download | ATCD-99662abeaff5296ac280f02f3d96a73244807284.tar.gz |
moved "log" declaration outside of for loop because it's used after the loop
Diffstat (limited to 'ace/ACE.i')
-rw-r--r-- | ace/ACE.i | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/ACE.i b/ace/ACE.i index d6d3398a053..21fc7c60153 100644 --- a/ace/ACE.i +++ b/ace/ACE.i @@ -68,7 +68,9 @@ ACE::get_flags (ACE_HANDLE handle) inline u_long ACE::log2 (u_long num) { - for (u_long log = 0; + u_long log = 0; + + for (; num > 0; log++) num >>= 1; |