Few miscellaneous fixes for RSSyl.
Mostly for compiler warnings on win64.
This commit is contained in:
parent
0a69220307
commit
7e344914c7
4 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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] == ' ')
|
||||
|
|
Loading…
Reference in a new issue