diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-28 21:43:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-28 21:43:48 +0000 |
commit | e0567433bd72aec17bf5a54cc292701095d25f09 (patch) | |
tree | 335335fb594f280097aa1c5db1118615112d0285 /source/lib/util.c | |
parent | 8a4730f61923577b0bd9e09ef1a00538f7dfb0de (diff) | |
download | samba-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/util.c')
-rw-r--r-- | source/lib/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 72eb1a89c3a..e82abf8c7c9 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -1926,8 +1926,8 @@ ssize_t read_with_timeout(int fd,char *buf,size_t mincnt,size_t maxcnt,unsigned select always returns true on disk files */ /* Set initial timeout */ - timeout.tv_sec = time_out / 1000; - timeout.tv_usec = 1000 * (time_out % 1000); + timeout.tv_sec = (time_t)(time_out / 1000); + timeout.tv_usec = (long)(1000 * (time_out % 1000)); for (nread=0; nread < mincnt; ) { |