diff options
author | Benjamin Otte <otte@redhat.com> | 2017-10-06 16:01:19 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-10-06 16:03:08 +0200 |
commit | c1e98693296e72f398b4acd0b1de0da31abc72f4 (patch) | |
tree | 0849fd4f067da21eab23b58d625ae68bac2c1ebd /gtk/a11y | |
parent | defcf17d3df40ce64fc87a1f13e92001af60459a (diff) | |
download | gtk+-c1e98693296e72f398b4acd0b1de0da31abc72f4.tar.gz |
build: Don't turn off critical warnings
-Wint-conversion is important because it checks casts from ints to
pointers.
-Wdiscarded-qualifiers is important to catch cases where we don't
strings when we should.
Diffstat (limited to 'gtk/a11y')
-rw-r--r-- | gtk/a11y/gtkaccessibilityutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/a11y/gtkaccessibilityutil.c b/gtk/a11y/gtkaccessibilityutil.c index 926e390cbc..48d6b4b283 100644 --- a/gtk/a11y/gtkaccessibilityutil.c +++ b/gtk/a11y/gtkaccessibilityutil.c @@ -136,7 +136,7 @@ atk_key_event_from_gdk_event_key (GdkEventKey *key, if (string && string[0] && (state & GDK_CONTROL_MASK || g_unichar_isgraph (g_utf8_get_char (string)))) - event->string = string; + event->string = (char *) string; else event->string = gdk_keyval_name (keyval); |