Fix 'comparison of 255 with expr of type bool' error in gc_atomic_ops.h
authorIvan Maidanski <ivmai@mail.ru>
Wed, 29 Nov 2017 08:41:22 +0000 (11:41 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 29 Nov 2017 08:41:22 +0000 (11:41 +0300)
commit85fd1402870f5ea661846622133e8e857215ba2f
tree553f191c8624231e2682347e0bb999d44fff0af5
parent03dafe9c0ec1d59ec47015d096b3bf565b1e3ae8
Fix 'comparison of 255 with expr of type bool' error in gc_atomic_ops.h

* include/private/gc_atomic_ops.h [GC_BUILTIN_ATOMIC && (CPPCHECK
|| !__GCC_ATOMIC_TEST_AND_SET_TRUEVAL)] (AO_TS_SET): Define to 1
instead of 0xff.
include/private/gc_atomic_ops.h