fixed annoying 'integer promotion' bug
also switched to more compatable CHAR_BIT