# HG changeset patch # User Sean Egan # Date 1022997600 0 # Node ID 56df4d1dcad522f280073a212279dcf89d0d43d3 # Parent 5a56d8874c40a200b3e56637e4285af0d30a1ee5 [gaim-migrate @ 3314] Fewer compile warnings committer: Tailor Script diff -r 5a56d8874c40 -r 56df4d1dcad5 src/applet.c --- a/src/applet.c Sat Jun 01 03:54:44 2002 +0000 +++ b/src/applet.c Sun Jun 02 06:00:00 2002 +0000 @@ -377,7 +377,7 @@ GTK_SIGNAL_FUNC(applet_change_pixel_size), NULL); #endif - applet_widget_send_draw(applet, TRUE); + applet_widget_send_draw(APPLET_WIDGET(applet), TRUE); gtk_signal_connect(GTK_OBJECT(applet), "do-draw", GTK_SIGNAL_FUNC(update_applet), NULL); gtk_widget_show(icon); gtk_widget_show(applet); diff -r 5a56d8874c40 -r 56df4d1dcad5 src/protocols/msn/msn.c --- a/src/protocols/msn/msn.c Sat Jun 01 03:54:44 2002 +0000 +++ b/src/protocols/msn/msn.c Sun Jun 02 06:00:00 2002 +0000 @@ -1055,7 +1055,8 @@ md->fl = g_slist_append(md->fl, b); } else if (!g_strcasecmp(which, "AL") && pos) { char *dupl; - if ((dupl = g_slist_find_custom(gc->deny, who, strcmp))) { + if ((dupl = (char *)g_slist_find_custom(gc->deny, who, + (GCompareFunc)strcmp))) { debug_printf("moving from deny to permit: %s", who); gc->deny = g_slist_remove(gc->deny, dupl); } @@ -2215,7 +2216,7 @@ t = g_slist_append(t, who); continue; } - if ((dupl = g_slist_find(md->deny, who))) { + if ((dupl = (char *)g_slist_find(md->deny, who))) { t = g_slist_append(t, who); continue; } @@ -2249,7 +2250,7 @@ t = g_slist_append(t, who); continue; } - if ((dupl = g_slist_find(md->deny, who))) { + if ((dupl = (char *)g_slist_find(md->deny, who))) { t = g_slist_append(t, who); continue; } @@ -2286,7 +2287,8 @@ return; } - if ((dupl = g_slist_find_custom(gc->deny, who, strcmp))) { + if ((dupl = (char *)g_slist_find_custom(gc->deny, who, + (GCompareFunc)strcmp))) { debug_printf("MSN: Moving %s from BL to AL\n", who); gc->deny = g_slist_remove(gc->deny, dupl); g_snprintf(buf, sizeof(buf), "REM %d BL %s\r\n", ++md->trId, who); @@ -2338,7 +2340,8 @@ return; } - if ((dupl = g_slist_find_custom(gc->permit, who, strcmp))) { + if ((dupl = (char *)g_slist_find_custom(gc->permit, who, + (GCompareFunc)strcmp))) { debug_printf("MSN: Moving %s from AL to BL\n", who); gc->permit = g_slist_remove(gc->permit, dupl); g_snprintf(buf, sizeof(buf), "REM %d AL %s\r\n", ++md->trId, who);