added typecasts to please compilers
This commit is contained in:
@@ -2245,7 +2245,7 @@ static void go_sleep(long ms)
|
|||||||
{
|
{
|
||||||
#ifdef HAVE_POLL_FINE
|
#ifdef HAVE_POLL_FINE
|
||||||
/* portable subsecond "sleep" */
|
/* portable subsecond "sleep" */
|
||||||
poll((void *)0, 0, ms);
|
poll((void *)0, 0, (int)ms);
|
||||||
#else
|
#else
|
||||||
/* systems without poll() need other solutions */
|
/* systems without poll() need other solutions */
|
||||||
|
|
||||||
@@ -3494,8 +3494,8 @@ operate(struct Configurable *config, int argc, char *argv[])
|
|||||||
curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
|
curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
|
||||||
if(filetime >= 0) {
|
if(filetime >= 0) {
|
||||||
struct utimbuf times;
|
struct utimbuf times;
|
||||||
times.actime = filetime;
|
times.actime = (time_t)filetime;
|
||||||
times.modtime = filetime;
|
times.modtime = (time_t)filetime;
|
||||||
utime(outs.filename, ×); /* set the time we got */
|
utime(outs.filename, ×); /* set the time we got */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user