aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2005-12-19 22:36:44 +0000
committerDan Fandrich <dan@coneharvesters.com>2005-12-19 22:36:44 +0000
commit80a8fb98db909a4403a641e6bb0049c1c778f416 (patch)
treef100183104b23a72ff643cd5b4092691f9bbc8a3 /src/main.c
parent898bb397b198e0cd3fae5d09751edfef6f26ca54 (diff)
Fixed compiler warning on libc5.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 51e3413fb..38eb9f0a1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2950,7 +2950,7 @@ int my_trace(CURL *handle, curl_infotype type,
(void)handle; /* prevent compiler warning */
tv = curlx_tvnow();
- now = localtime(&tv.tv_sec); /* not multithread safe but we don't care */
+ now = localtime((time_t *)&tv.tv_sec); /* not multithread safe but we don't care */
if(config->tracetime)
snprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06d ",
now->tm_hour, now->tm_min, now->tm_sec, tv.tv_usec);