aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-07-02 12:29:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-07-02 12:29:15 +0000
commitc211a7c68554ae1aea5697cd3911e6aad56bd8c5 (patch)
treeb8d52f77cca7700e014f1f8a28ce4bffb0f0eb6c /src
parent7876c078bcef9453b43c23127d58eee50214652f (diff)
added typecasts to please compilers
Diffstat (limited to 'src')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 256a35e94..775909de6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2245,7 +2245,7 @@ static void go_sleep(long ms)
{
#ifdef HAVE_POLL_FINE
/* portable subsecond "sleep" */
- poll((void *)0, 0, ms);
+ poll((void *)0, 0, (int)ms);
#else
/* 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);
if(filetime >= 0) {
struct utimbuf times;
- times.actime = filetime;
- times.modtime = filetime;
+ times.actime = (time_t)filetime;
+ times.modtime = (time_t)filetime;
utime(outs.filename, &times); /* set the time we got */
}
}