Changed bool to signed integer instead of unsigned char.
authorErik Lindahl <lindahl@cbr.su.se>
Wed, 25 Aug 2010 20:25:07 +0000 (22:25 +0200)
committerErik Lindahl <lindahl@cbr.su.se>
Wed, 25 Aug 2010 20:25:07 +0000 (22:25 +0200)
commitebbe9cd9c076b0c5d77a52792943c6b8f95e794c
tree6fcdcbbb3c11fa048bed44145001315d7113c4f9
parent0ee18313f23725a6ffdaa515f4da0b54e1676903
Changed bool to signed integer instead of unsigned char.
Since we treat this type similar to the enumerated ones internally,
with names and indices, we get lots of warnings about signed/unsigned
comparisions if the type is not signed, and also warnings about using
'char' array subscripts. The integer has worked on compilers this far,
so let's not make bigger changes than we have to!
(Yeah, I know I was the one who suggested we make it compatible with C++
1-byte-size booleans earlier today. Mea Culpa.)
include/types/simple.h