From 730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144 Mon Sep 17 00:00:00 2001 From: Sankarasivasubramanian Pasupathilingam Date: Fri, 11 May 2007 10:22:26 +0000 Subject: =?UTF-8?q?Bug=20437584=20=E2=80=93=20Compilation=20warning=20in?= =?UTF-8?q?=20evolution's=20plugins=20folder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=33507 --- plugins/publish-calendar/url-editor-dialog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/publish-calendar/url-editor-dialog.c') diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c index 352d6eff1e..c426c9cb20 100644 --- a/plugins/publish-calendar/url-editor-dialog.c +++ b/plugins/publish-calendar/url-editor-dialog.c @@ -261,17 +261,17 @@ set_from_uri (UrlEditorDialog *dialog) euri = e_uri_new (uri->location); /* determine our method */ method = euri->protocol; - if (strcmp (method, "smb") == 0) + if (strcmp ((const char *)method, "smb") == 0) uri->service_type = TYPE_SMB; - else if (strcmp (method, "sftp") == 0) + else if (strcmp ((const char *)method, "sftp") == 0) uri->service_type = TYPE_SSH; - else if (strcmp (method, "ftp") == 0) + else if (strcmp ((const char *)method, "ftp") == 0) /* we set TYPE_FTP here for now. if we don't find a * username later, we'll change it to TYPE_ANON_FTP */ uri->service_type = TYPE_FTP; - else if (strcmp (method, "dav") == 0) + else if (strcmp ((const char *)method, "dav") == 0) uri->service_type = TYPE_DAV; - else if (strcmp (method, "davs") == 0) + else if (strcmp ((const char *)method, "davs") == 0) uri->service_type = TYPE_DAVS; else uri->service_type = TYPE_URI; -- cgit v1.2.3