aboutsummaryrefslogtreecommitdiffstats
path: root/capplet/settings
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2010-03-18 02:47:57 +0800
committerFederico Mena Quintero <federico@novell.com>2010-03-18 06:08:16 +0800
commitc1c50dbcd11bf5366a0ea1ed0a73bd9b900a55fb (patch)
tree2fcd4a62bcbdecd9ef2ddd136d97d55e447d926d /capplet/settings
parent5b9fb0b0edaba00ca85330de13dc7a9b0e06f489 (diff)
downloadgsoc2013-evolution-c1c50dbcd11bf5366a0ea1ed0a73bd9b900a55fb.tar
gsoc2013-evolution-c1c50dbcd11bf5366a0ea1ed0a73bd9b900a55fb.tar.gz
gsoc2013-evolution-c1c50dbcd11bf5366a0ea1ed0a73bd9b900a55fb.tar.bz2
gsoc2013-evolution-c1c50dbcd11bf5366a0ea1ed0a73bd9b900a55fb.tar.lz
gsoc2013-evolution-c1c50dbcd11bf5366a0ea1ed0a73bd9b900a55fb.tar.xz
gsoc2013-evolution-c1c50dbcd11bf5366a0ea1ed0a73bd9b900a55fb.tar.zst
gsoc2013-evolution-c1c50dbcd11bf5366a0ea1ed0a73bd9b900a55fb.zip
Fix compiler warnings
Oh, yes, I hate xmlChar. Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'capplet/settings')
-rw-r--r--capplet/settings/mail-guess-servers.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c
index c3d0d3c9b7..f3d47f156e 100644
--- a/capplet/settings/mail-guess-servers.c
+++ b/capplet/settings/mail-guess-servers.c
@@ -51,10 +51,10 @@ xml_to_gchar (xmlChar *xml, EmailProvider *provider)
char *tmp;
char *repl = NULL, *sec_part;
- tmp = xml ? strstr(xml, "\%EMAIL") : NULL;
+ tmp = xml ? strstr((char *) xml, "\%EMAIL") : NULL;
if (!tmp) {
- gxml = xml ? g_strdup(xml) : NULL ;
+ gxml = xml ? g_strdup((char *) xml) : NULL ;
} else {
decodepart:
*tmp = 0;
@@ -116,7 +116,7 @@ handle_incoming (xmlNodePtr head, EmailProvider *provider)
{
xmlNodePtr node = head->children;
- provider->recv_type = xml_to_gchar(xmlGetProp(head, "type"), provider);
+ provider->recv_type = xml_to_gchar(xmlGetProp(head, (xmlChar *) "type"), provider);
while (node) {
if (strcmp ((gchar *)node->name, "hostname") == 0) {
@@ -140,7 +140,7 @@ handle_outgoing (xmlNodePtr head, EmailProvider *provider)
{
xmlNodePtr node = head->children;
- provider->send_type = xml_to_gchar(xmlGetProp(head, "type"), provider);
+ provider->send_type = xml_to_gchar(xmlGetProp(head, (xmlChar *) "type"), provider);
while (node) {
if (strcmp ((gchar *)node->name, "hostname") == 0) {
@@ -230,7 +230,6 @@ guess_when_online (EmailProvider *provider)
const char *cafile = NULL;
char *url;
SoupURI *proxy = NULL, *parsed;
- int opt;
SoupMessage *msg;
SoupSession *session;
@@ -274,7 +273,7 @@ guess_when_offline (EmailProvider *provider)
{
char *filename;
char *contents;
- gssize length;
+ gsize length;
gboolean success;
if (!provider->domain || provider->domain[0] == 0)