Skip to content
  • Shane Kerr's avatar
    [2571] Change from char to int when we need special character values. · 6b6cbde6
    Shane Kerr authored
    In cases where we use values outside of normal character range (-128
    to 127 or 0 to 255) to indicate special things, like EOF, we need to
    insure that we can hold these values. To do that, we use an int.
    
    It turns out that the default type conversions also meant that our
    JSON conversion from strings would break in some cases. A test was
    added to show that, and to confirm the fix.
    6b6cbde6