[Commits] [SCM] claws branch, master, updated. 3.14.0-11-g7e34491
ticho at claws-mail.org
ticho at claws-mail.org
Thu Aug 18 15:55:07 CEST 2016
The branch, master has been updated
via 7e344914c711eb277022e9965d1834229d6b13e9 (commit)
from 0a692203078cd322d6ab2f96917233209a13a59c (commit)
Summary of changes:
src/plugins/rssyl/libfeed/feed.c | 4 ++--
src/plugins/rssyl/libfeed/feed.h | 2 +-
src/plugins/rssyl/libfeed/parser.c | 2 +-
src/plugins/rssyl/rssyl_subscribe.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 7e344914c711eb277022e9965d1834229d6b13e9
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Thu Aug 18 15:54:16 2016 +0200
Few miscellaneous fixes for RSSyl.
Mostly for compiler warnings on win64.
diff --git a/src/plugins/rssyl/libfeed/feed.c b/src/plugins/rssyl/libfeed/feed.c
index 11bbb12..10f0a76 100644
--- a/src/plugins/rssyl/libfeed/feed.c
+++ b/src/plugins/rssyl/libfeed/feed.c
@@ -300,7 +300,7 @@ guint feed_update(Feed *feed, time_t last_update)
if( last_update != -1 ) {
curl_easy_setopt(eh, CURLOPT_TIMECONDITION,
CURL_TIMECOND_IFMODSINCE);
- curl_easy_setopt(eh, CURLOPT_TIMEVALUE, last_update);
+ curl_easy_setopt(eh, CURLOPT_TIMEVALUE, (long)last_update);
}
#if LIBCURL_VERSION_NUM >= 0x070a00
@@ -430,7 +430,7 @@ gchar *feed_get_cacert_file(Feed *feed)
return feed->cacert_file;
}
-void feed_set_cacert_file(Feed *feed, gchar *path)
+void feed_set_cacert_file(Feed *feed, const gchar *path)
{
g_return_if_fail(feed != NULL);
diff --git a/src/plugins/rssyl/libfeed/feed.h b/src/plugins/rssyl/libfeed/feed.h
index e2acd8f..f8df922 100644
--- a/src/plugins/rssyl/libfeed/feed.h
+++ b/src/plugins/rssyl/libfeed/feed.h
@@ -118,7 +118,7 @@ gboolean feed_get_ssl_verify_peer(Feed *feed);
void feed_set_ssl_verify_peer(Feed *feed, gboolean ssl_verify_peer);
gchar *feed_get_cacert_file(Feed *feed);
-void feed_set_cacert_file(Feed *feed, gchar *path);
+void feed_set_cacert_file(Feed *feed, const gchar *path);
gint feed_n_items(Feed *feed);
FeedItem *feed_nth_item(Feed *feed, guint n);
diff --git a/src/plugins/rssyl/libfeed/parser.c b/src/plugins/rssyl/libfeed/parser.c
index 6439245..033f800 100644
--- a/src/plugins/rssyl/libfeed/parser.c
+++ b/src/plugins/rssyl/libfeed/parser.c
@@ -206,7 +206,7 @@ static gint giconv_utf32_char(GIConv cd, const gchar *inbuf, size_t insize,
size_t outsize;
guchar outbuf[CHARSIZEUTF32];
gchar *outbufp;
- gint r, errno;
+ gint r;
outsize = sizeof(outbuf);
outbufp = (gchar *)outbuf;
diff --git a/src/plugins/rssyl/rssyl_subscribe.c b/src/plugins/rssyl/rssyl_subscribe.c
index 688df22..fcb5f81 100644
--- a/src/plugins/rssyl/rssyl_subscribe.c
+++ b/src/plugins/rssyl/rssyl_subscribe.c
@@ -132,7 +132,7 @@ gboolean rssyl_subscribe(FolderItem *parent, const gchar *url,
/* Windows does not allow its filenames to start or end with a dot,
* or to end with a space. */
if (tmpname2[0] == '.')
- tmpname2[0] = "_";
+ tmpname2[0] = '_';
if (tmpname2[strlen(tmpname2) - 1] == '.')
tmpname2[strlen(tmpname2) - 1] = '_';
if (tmpname2[strlen(tmpname2) - 1] == ' ')
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list