summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-06-17 10:28:03 +0200
committerBenjamin Otte <otte@gnome.org>2009-06-17 10:28:03 +0200
commit1a385c50f041cdcc8ee88b27af85094901c2b05d (patch)
tree6cd27d95820e33f8d59a29ae1cc3b5d9f429aef5 /tests
parent272c30bbc276819ad9ca7c43ce75e2b46064c8d6 (diff)
downloadgtk+-1a385c50f041cdcc8ee88b27af85094901c2b05d.tar.gz
fix compile warnings
Fallout from running make CFLAGS="-Werror"; mostly missing casts and constness issues.
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 075bb8eb10..80e2fc03dd 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -5297,7 +5297,7 @@ entry_toggle_pulse (GtkWidget *checkbutton,
GtkWidget *entry)
{
g_object_set_data (G_OBJECT (entry), "progress-pulse",
- GINT_TO_POINTER (GTK_TOGGLE_BUTTON (checkbutton)->active));
+ GUINT_TO_POINTER ((guint) GTK_TOGGLE_BUTTON (checkbutton)->active));
}
static void