diff options
-rw-r--r-- | source3/smbwrapper/wrapped.c | 3 |
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(); } - |