summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-01 19:19:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-01 19:19:34 (GMT)
commit9400400746a702f1f73b504c22bfca592d3dab13 (patch)
treeeae4593cc51e1dc6e39acbc67845aaf5482ebcad /Source/CTest
parentddf848ac661a0feddc80f37e35e4b5839ef0ff40 (diff)
downloadCMake-9400400746a702f1f73b504c22bfca592d3dab13.zip
CMake-9400400746a702f1f73b504c22bfca592d3dab13.tar.gz
CMake-9400400746a702f1f73b504c22bfca592d3dab13.tar.bz2
ERR: Remove warning on FreeBSD
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/Curl/ftp.c2
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