summaryrefslogtreecommitdiffstats
path: root/source/lib/time.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-28 21:43:48 +0000
committerJeremy Allison <jra@samba.org>1998-09-28 21:43:48 +0000
commite0567433bd72aec17bf5a54cc292701095d25f09 (patch)
tree335335fb594f280097aa1c5db1118615112d0285 /source/lib/time.c
parent8a4730f61923577b0bd9e09ef1a00538f7dfb0de (diff)
downloadsamba-e0567433bd72aec17bf5a54cc292701095d25f09.tar.gz
samba-e0567433bd72aec17bf5a54cc292701095d25f09.tar.xz
samba-e0567433bd72aec17bf5a54cc292701095d25f09.zip
Changes to test in configure if capabilities are enabled on a system.
Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy.
Diffstat (limited to 'source/lib/time.c')
-rw-r--r--source/lib/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/time.c b/source/lib/time.c
index 89a83ebfc18..529f0ceb447 100644
--- a/source/lib/time.c
+++ b/source/lib/time.c
@@ -470,7 +470,7 @@ time_t make_unix_date2(void *date_ptr)
******************************************************************/
time_t make_unix_date3(void *date_ptr)
{
- time_t t = IVAL(date_ptr,0);
+ time_t t = (time_t)IVAL(date_ptr,0);
if (!null_mtime(t))
t += LocTimeDiff(t);
return(t);