bugfix: cbt_memcmp should using unsigned char