s4:torture/winbind/struct_based.c - fix up (un)signedness of a function argument
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 5 Mar 2010 07:47:48 +0000 (08:47 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 5 Mar 2010 07:55:47 +0000 (08:55 +0100)
Otherwise always a warning is generated.

source4/torture/winbind/struct_based.c

index 5a621bc77243aa7b0e53775a2fc4285d4cebfabd..99b08283197da105c704d3c7e0ba15d9615ee3c4 100644 (file)
@@ -636,7 +636,8 @@ static bool torture_winbind_struct_list_users(struct torture_context *torture)
        return true;
 }
 
-static bool get_group_list(struct torture_context *torture, int *num_entries,
+static bool get_group_list(struct torture_context *torture,
+                          unsigned int *num_entries,
                           char ***groups)
 {
        struct winbindd_request req;