diff options
-rw-r--r-- | Source/CTest/Curl/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/ftp.c b/Source/CTest/Curl/ftp.c index cb0b19b..d5b8fb6 100644 --- a/Source/CTest/Curl/ftp.c +++ b/Source/CTest/Curl/ftp.c @@ -2001,7 +2001,7 @@ CURLcode ftp_perform(struct connectdata *conn, struct tm *tm; #ifdef HAVE_LOCALTIME_R struct tm buffer; - tm = (struct tm *)localtime_r(&data->info.filetime, &buffer); + tm = (struct tm *)localtime_r((time_t*)&data->info.filetime, &buffer); #else tm = localtime((time_t *)&data->info.filetime); #endif |