summary refs log tree commit diff stats
path: root/src/fe-gtk/notifygui.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-09-20 17:33:27 -0400
committerTingPing <tingping@tingping.se>2013-09-20 17:33:27 -0400
commit51cdcfca82fcbcf10a7cd3109ba05b894a1cc656 (patch)
treef53762fd1dbf7de743f4777cfbd165c6a03492f6 /src/fe-gtk/notifygui.c
parentae04663aa91f864250fd109fe6433c8dea7c4a93 (diff)
Fix warning
Diffstat (limited to 'src/fe-gtk/notifygui.c')
-rw-r--r--src/fe-gtk/notifygui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/notifygui.c b/src/fe-gtk/notifygui.c
index e50661d5..721501fe 100644
--- a/src/fe-gtk/notifygui.c
+++ b/src/fe-gtk/notifygui.c
@@ -314,7 +314,7 @@ notifygui_add_cb (GtkDialog *dialog, gint response, gpointer entry)
 	text = (char *)gtk_entry_get_text (GTK_ENTRY (entry));
 	if (text[0] && response == GTK_RESPONSE_ACCEPT)
 	{
-		networks = gtk_entry_get_text (GTK_ENTRY (g_object_get_data (G_OBJECT (entry), "net")));
+		networks = (char*)gtk_entry_get_text (GTK_ENTRY (g_object_get_data (G_OBJECT (entry), "net")));
 		if (g_ascii_strcasecmp (networks, "ALL") == 0 || networks[0] == 0)
 			notify_adduser (text, NULL);
 		else