audit_log: Align integer types
authorVolker Lendecke <vl@samba.org>
Sun, 1 Dec 2019 15:10:18 +0000 (16:10 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Fri, 3 Jan 2020 00:04:43 +0000 (00:04 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source4/dsdb/samdb/ldb_modules/audit_log.c

index ef674950100883f2aa26ec027bd098d4dd2bb300..7cc3ff67d77e82f79c9835cc02fc864b4cbf2324 100644 (file)
@@ -109,7 +109,7 @@ struct audit_private {
  */
 static bool has_password_changed(const struct ldb_message *message)
 {
-       int i;
+       unsigned int i;
        if (message == NULL) {
                return false;
        }