summaryrefslogtreecommitdiff
path: root/source/smbwrapper
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
commitd78224a7d27097fa00d9e2a7b02efd7383d833ff (patch)
tree40660a6b5f8bb2caf1e2682c67bbb706aab2f9a6 /source/smbwrapper
parent36f9ce7993adc5a26e808842233108f28b8fdebf (diff)
downloadsamba-d78224a7d27097fa00d9e2a7b02efd7383d833ff.tar.gz
Return a (void *)0 instead of NULL in readdir64() wrapper.
Diffstat (limited to 'source/smbwrapper')
-rw-r--r--source/smbwrapper/wrapped.c3
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();
}
-