summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-09 13:20:31 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-09 13:20:31 (GMT)
commit8c11d31cc35acd8b92cb757db5af02b3acefc798 (patch)
treec28a7d7419efc2258233bbe32bd8c95ea6b38cfb /Utilities
parent12d406675adb62db00743479cfeb23d4500680f8 (diff)
downloadCMake-8c11d31cc35acd8b92cb757db5af02b3acefc798.zip
CMake-8c11d31cc35acd8b92cb757db5af02b3acefc798.tar.gz
CMake-8c11d31cc35acd8b92cb757db5af02b3acefc798.tar.bz2
COMP: Remove win64 warnings
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmcurl/formdata.c2
-rw-r--r--Utilities/cmtar/libtar.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmcurl/formdata.c b/Utilities/cmcurl/formdata.c
index 5abff6e..0e66e60 100644
--- a/Utilities/cmcurl/formdata.c
+++ b/Utilities/cmcurl/formdata.c
@@ -1469,7 +1469,7 @@ char *Curl_FormBoundary(void)
if(!retstring)
return NULL; /* failed */
- srand(time(NULL)+randomizer++); /* seed */
+ srand((unsigned int)((time(NULL)+randomizer++))); /* seed */
strcpy(retstring, "----------------------------");
diff --git a/Utilities/cmtar/libtar.h b/Utilities/cmtar/libtar.h
index fb87e5b..1eba002 100644
--- a/Utilities/cmtar/libtar.h
+++ b/Utilities/cmtar/libtar.h
@@ -199,9 +199,9 @@ void th_set_user(TAR *t, uid_t uid);
void th_set_group(TAR *t, gid_t gid);
void th_set_mode(TAR *t, mode_t fmode);
#define th_set_mtime(t, fmtime) \
- int_to_oct_nonull((fmtime), (t)->th_buf.mtime, 12)
+ int_to_oct_nonull((int)(fmtime), (t)->th_buf.mtime, 12)
#define th_set_size(t, fsize) \
- int_to_oct_nonull((fsize), (t)->th_buf.size, 12)
+ int_to_oct_nonull((int)(fsize), (t)->th_buf.size, 12)
/* encode everything at once (except the pathname and linkname) */
void th_set_from_stat(TAR *t, struct stat *s);