ueno / libkkc

Japanese Kana Kanji conversion input method library
GNU General Public License v3.0
106 stars 15 forks source link

Return false rather than null in boolean function #40

Closed kinichiro closed 3 years ago

kinichiro commented 3 years ago

This suppress the warning below. warning: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]

Pointed out by @ricotz in #38