From d78224a7d27097fa00d9e2a7b02efd7383d833ff Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 13 Jun 1999 04:27:57 +0000 Subject: Return a (void *)0 instead of NULL in readdir64() wrapper. --- source/smbwrapper/wrapped.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/smbwrapper') 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(); } - -- cgit v1.2.1