Return a (void *)0 instead of NULL in readdir64() wrapper.
authorTim Potter <tpot@samba.org>
Sun, 13 Jun 1999 04:27:57 +0000 (04:27 +0000)
committerTim Potter <tpot@samba.org>
Sun, 13 Jun 1999 04:27:57 +0000 (04:27 +0000)
(This used to be commit d78224a7d27097fa00d9e2a7b02efd7383d833ff)

source3/smbwrapper/wrapped.c

index 0a8158dd05094a61dc7f0e8be1a17feba72ff64e..4703614d649d87a6edbfc340ebac1f88da00c784 100644 (file)
                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;
        }
 {
        return smbw_fork();
 }
-