[Bug 47049] boolean type defined as 'unsigned char' rather than 'char'