Some BOOLs moved to unsigned char