summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>1999-06-13 04:27:57 +0000
committerTim Potter <tpot@samba.org>1999-06-13 04:27:57 +0000
commit0132160229c6c49de590b7f5bd267f687bab23d6 (patch)
tree63fbd19285f0bd67218ce9bd5fd3512958d2ad7f /source3
parent74e19e5b81e7ca0d0bea0829893d0f2b55a592cb (diff)
downloadsamba-0132160229c6c49de590b7f5bd267f687bab23d6.tar.gz
samba-0132160229c6c49de590b7f5bd267f687bab23d6.tar.bz2
samba-0132160229c6c49de590b7f5bd267f687bab23d6.zip
Return a (void *)0 instead of NULL in readdir64() wrapper.
(This used to be commit d78224a7d27097fa00d9e2a7b02efd7383d833ff)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbwrapper/wrapped.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c
index 0a8158dd05..4703614d64 100644
--- a/source3/smbwrapper/wrapped.c
+++ b/source3/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();
}
-