Skip to content
  • Kenneth Moreland's avatar
    Deal with small integer promotions · 04fce28a
    Kenneth Moreland authored
    C and C++ has a funny feature where operations on small integers (char
    and short) actually promote the result to a 32 bit integer. Most often
    in our code the result is pushed back to the same type, and picky compilers
    can then give a warning about an implicit type conversion (that we
    inevitably don't care about). Here are a lot of changes to suppress
    the warnings.
    04fce28a