mate-desktop / mate-settings-daemon

MATE settings daemon
https://mate-desktop.org
GNU General Public License v2.0
43 stars 48 forks source link

Fix implicit conversion changes signedness: 'gboolean' to 'guint' #382

Closed rbuj closed 2 years ago

rbuj commented 2 years ago
CFLAGS="-Wconversion -Wunused-macros -Wunused-parameter" CC=clang ./autogen.sh --prefix=/usr --enable-debug --enable-compile-warnings=maximum && make &> make.log
msd-osd-window.c:444:39: warning: implicit conversion changes signedness: 'gboolean' (aka 'int') to 'guint' (aka 'unsigned int') [-Wsign-conversion]
        window->priv->is_composited = gdk_screen_is_composited (screen);
                                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
msd-timeline.c:649:16: warning: implicit conversion changes signedness: 'gboolean' (aka 'int') to 'guint' (aka 'unsigned int') [-Wsign-conversion]
  priv->loop = loop;
             ~ ^~~~
raveit65 commented 2 years ago

I can confirm that mentioned warnings are gone.