Fix compilation error with GCC 6 53/272153/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.061505 accepted/tizen/7.0/unified/hotfix/20221116.111034 accepted/tizen/8.0/unified/20231005.095122 accepted/tizen/unified/20220315.065612 submit/tizen/20220315.062345 tizen_7.0_m2_release tizen_8.0_m2_release
authorthep-svn <theppitak@gmail.com>
Wed, 20 Jan 2016 15:40:33 +0000 (15:40 +0000)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 10 Mar 2022 07:42:52 +0000 (16:42 +0900)
commit6e8d522453f4b7a39b2c50ecf5648cbc9c93121b
tree8966c6877dcdbd57fafb2fb2e4aded5286f3f0fa
parent56b986b5c0fa3c3f2c0bb07139953d27a283ef8c
Fix compilation error with GCC 6

* include/thai/thctype.h (_th_bitmsk):
  - Use unsigned int instead of unsigned short for bitmask base,
    as GCC 6 takes ~0 as -1 for unsigned short,
    and causes compilation error for scim-thai.

Thanks Martin Michlmayr for the report via Debian #811690
http://bugs.debian.org/811690

Change-Id: Id1ad10ac1c73423c6e839f141dab4822248223cd
ChangeLog
include/thai/thctype.h