diff options
author | Tim Potter <tpot@samba.org> | 1999-06-13 04:27:57 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 1999-06-13 04:27:57 +0000 |
commit | d78224a7d27097fa00d9e2a7b02efd7383d833ff (patch) | |
tree | 40660a6b5f8bb2caf1e2682c67bbb706aab2f9a6 /source/smbwrapper | |
parent | 36f9ce7993adc5a26e808842233108f28b8fdebf (diff) | |
download | samba-d78224a7d27097fa00d9e2a7b02efd7383d833ff.tar.gz |
Return a (void *)0 instead of NULL in readdir64() wrapper.
Diffstat (limited to 'source/smbwrapper')
-rw-r--r-- | source/smbwrapper/wrapped.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/smbwrapper/wrapped.c b/source/smbwrapper/wrapped.c index 0a8158dd050..4703614d649 100644 --- a/source/smbwrapper/wrapped.c +++ b/source/smbwrapper/wrapped.c @@ -687,7 +687,7 @@ static double xx[70]; void *d; d = (void *)readdir(dir); - if (!d) return NULL; + if (!d) return (void *)0; dirent64_convert(d, xx); return xx; } @@ -699,4 +699,3 @@ { return smbw_fork(); } - |