[gtk+/quartz-integration: 495/563] tests: Fix compiler warnings



commit d7033103b47ec58a758f5660484311174358c86d
Author: Benjamin Otte <otte redhat com>
Date:   Wed Jun 29 18:00:37 2011 +0200

    tests: Fix compiler warnings

 tests/a11y/accessibility-dump.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/a11y/accessibility-dump.c b/tests/a11y/accessibility-dump.c
index f6737ec..1a1c213 100644
--- a/tests/a11y/accessibility-dump.c
+++ b/tests/a11y/accessibility-dump.c
@@ -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);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]