diff options
author | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2007-05-11 18:22:26 +0800 |
---|---|---|
committer | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2007-05-11 18:22:26 +0800 |
commit | 730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144 (patch) | |
tree | f419fdd0d3721e2182bdbb194193669ac382fcbc /plugins/publish-calendar | |
parent | 347bdcf94d622efbdeaa687a617efa8d1480bb74 (diff) | |
download | gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.tar gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.tar.gz gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.tar.bz2 gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.tar.lz gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.tar.xz gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.tar.zst gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.zip |
Bug 437584 – Compilation warning in evolution's plugins folder
svn path=/trunk/; revision=33507
Diffstat (limited to 'plugins/publish-calendar')
-rw-r--r-- | plugins/publish-calendar/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/publish-calendar/url-editor-dialog.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/plugins/publish-calendar/ChangeLog b/plugins/publish-calendar/ChangeLog index b2e5b7be55..f72b9da841 100644 --- a/plugins/publish-calendar/ChangeLog +++ b/plugins/publish-calendar/ChangeLog @@ -1,3 +1,8 @@ +2007-05-11 Gilles Dartiguelongue <dartigug@esiee.fr> + + * url-editor-dialog.c: (set_from_uri): fixes casts in strcmp, + fixes par of bug #437584 + 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #419524 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; |