Ticket #2661: operator-order-in-capacity.diff

File operator-order-in-capacity.diff, 417 bytes (added by SF/madm00se, 18 years ago)

Parantheses parentheses!

  • common/str.cpp

     
    4040        // grows a bit).
    4141        // Finally, we subtract 1 to compensate for the trailing zero byte.
    4242        len += 16;
    43         return (len + 32 - 1) & ~0x1F - 1;
     43        return ((len + 32 - 1) & ~0x1F) - 1;
    4444}
    4545
    4646String::String(const char *str, int len, int capacity)