]> Pileus Git - ~andy/gtk/commitdiff
tests: Fix compiler warnings
authorBenjamin Otte <otte@redhat.com>
Wed, 29 Jun 2011 16:00:37 +0000 (18:00 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2011 20:08:56 +0000 (16:08 -0400)
tests/a11y/accessibility-dump.c

index f6737ec4b4dc702391b4c44d8c9bb7cfa3498b2b..1a1c21379c34ec47a3481672ee7ee1d5311f65d0 100644 (file)
@@ -235,8 +235,8 @@ dump_attribute_set (GString         *string,
 static gint
 compare_attr (gconstpointer a, gconstpointer b)
 {
-  AtkAttribute *aattr = a;
-  AtkAttribute *battr = b;
+  const AtkAttribute *aattr = a;
+  const AtkAttribute *battr = b;
 
   return strcmp (aattr->name, battr->name);
 }