r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
[samba.git] / source4 / torture / nbench / nbio.c
index cd6808516903080dc8d37eb4f2a04135031918b6..26ea6520f65dca6ed27ad69b7d16628851b183b9 100644 (file)
@@ -607,7 +607,7 @@ void nb_qfsinfo(int level, NTSTATUS status)
 }
 
 /* callback function used for trans2 search */
-static BOOL findfirst_callback(void *private, union smb_search_data *file)
+static BOOL findfirst_callback(void *private, const union smb_search_data *file)
 {
        return True;
 }