aboutsummaryrefslogtreecommitdiffstats
path: root/tls.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-09-21 17:42:15 +0000
committerWayne Davison <wayned@samba.org>2005-09-21 17:42:15 +0000
commite31058d41ebb079a76200ae547a42a9b352b8260 (patch)
tree260e988ab0614f26c9f27a8b50646d089e451248 /tls.c
parentea8291d8f74e264d2b3c4d65b41584c4951a74bb (diff)
downloadandroid_external_rsync-e31058d41ebb079a76200ae547a42a9b352b8260.tar.gz
android_external_rsync-e31058d41ebb079a76200ae547a42a9b352b8260.tar.bz2
android_external_rsync-e31058d41ebb079a76200ae547a42a9b352b8260.zip
Cast some time values to (int), just to silence some warnings on
Stratus VOS.
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tls.c b/tls.c
index 6c0466f8..569c55b2 100644
--- a/tls.c
+++ b/tls.c
@@ -100,12 +100,12 @@ static void list_file(const char *fname)
mt = gmtime(&buf.st_mtime);
sprintf(datebuf, "%04d-%02d-%02d %02d:%02d:%02d",
- mt->tm_year + 1900,
- mt->tm_mon + 1,
- mt->tm_mday,
- mt->tm_hour,
- mt->tm_min,
- mt->tm_sec);
+ (int)mt->tm_year + 1900,
+ (int)mt->tm_mon + 1,
+ (int)mt->tm_mday,
+ (int)mt->tm_hour,
+ (int)mt->tm_min,
+ (int)mt->tm_sec);
} else {
strcpy(datebuf, " ");
}