libnet keytab: use proper counter type (uint32_t) in libnet_keytab_add().
authorMichael Adam <obnox@samba.org>
Thu, 31 Jul 2008 21:15:35 +0000 (23:15 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 1 Aug 2008 14:07:59 +0000 (16:07 +0200)
Michael
(This used to be commit d0bd9195f04ae0f45c2e571d31625b31347f13e9)

source3/libnet/libnet_keytab.c

index b427e879c32e11ba605695a5a52b879c1d99f59b..230a4a21f878089351aa904d3b25355a490af9cf 100644 (file)
@@ -261,7 +261,7 @@ done:
 krb5_error_code libnet_keytab_add(struct libnet_keytab_context *ctx)
 {
        krb5_error_code ret = 0;
-       int i;
+       uint32_t i;
 
        for (i=0; i<ctx->count; i++) {