s3:smbd fix a compile warning on AIX 5.3
authorChristian Ambach <ambi@samba.org>
Tue, 5 Jul 2011 22:06:27 +0000 (17:06 -0500)
committerChristian Ambach <ambi@samba.org>
Tue, 5 Jul 2011 17:51:42 +0000 (19:51 +0200)
use the correct alias instead of FD directly

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Tue Jul  5 19:51:42 CEST 2011 on sn-devel-104

source3/smbd/vfs.c

index 7be386726780da7a19033893d69449848c8717ef..ed5009885be4523c577cbbc281a70e44f8036a76 100644 (file)
@@ -729,7 +729,7 @@ const char *vfs_readdirname(connection_struct *conn, void *p,
        if (!p)
                return(NULL);
 
-       ptr = SMB_VFS_READDIR(conn, (DIR *)p, sbuf);
+       ptr = SMB_VFS_READDIR(conn, (SMB_STRUCT_DIR *)p, sbuf);
        if (!ptr)
                return(NULL);