From 4e88bfd6c1c8345014d5badcffd999f02cb41d0b Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 2 Mar 2010 13:07:10 +0000 Subject: warning cleanup --- capplet/settings/mail-guess-servers.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'capplet/settings/mail-guess-servers.c') diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c index 26fc630f16..ef656bf8a3 100644 --- a/capplet/settings/mail-guess-servers.c +++ b/capplet/settings/mail-guess-servers.c @@ -70,7 +70,7 @@ xml_to_gchar (xmlChar *xml, EmailProvider *provider) if (!*sec_part) sec_part = ""; - gxml = g_strdup_printf("%s%s%s", gxml ? gxml: xml, repl, sec_part); + gxml = g_strdup_printf("%s%s%s", gxml ? gxml : (char *)xml, repl, sec_part); tmp = strstr (gxml, "\%EMAIL"); if(tmp) { goto decodepart; @@ -213,7 +213,8 @@ parse_msg (SoupMessage *msg, EmailProvider *provider) gboolean mail_guess_servers(EmailProvider *provider) { - const char *cafile = NULL, *url; + const char *cafile = NULL; + char *url; SoupURI *proxy = NULL, *parsed; int opt; SoupMessage *msg; -- cgit