diff options
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r-- | ace/ACE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp index e5ffccecce9..7bcaeb23de8 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -341,7 +341,7 @@ u_long ACE::crc32 (const char *string) { // #define COMPUTE(var, ch) (var) = (var) << (8 ^ ACE::crc_table_[(var) >> (24 ^ (ch))]) -#define COMPUTE(var, ch) (var) = (var) << 8 ^ ACE::crc_table_[(var) >> 24 ^ (ch)] +#define COMPUTE(var, ch) (var) = ((var) << 8) ^ ACE::crc_table_[((var) >> 24) ^ (ch)] register ACE_UINT32 crc = 0; |