diff src/gtkdebug.c @ 6478:338147ea6896

[gaim-migrate @ 6991] Some compiler warning fixes for 64-bit platforms from Robot101. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 15 Aug 2003 22:16:44 +0000
parents 8f94cce8faa5
children 083d1e4a9c78
line wrap: on
line diff
--- a/src/gtkdebug.c	Fri Aug 15 17:57:12 2003 +0000
+++ b/src/gtkdebug.c	Fri Aug 15 22:16:44 2003 +0000
@@ -105,7 +105,7 @@
 timestamps_pref_cb(const char *name, GaimPrefType type, gpointer value,
 				   gpointer data)
 {
-	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(data), (gboolean)value);
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(data), GPOINTER_TO_INT(value));
 }
 
 static DebugWindow *