* setup_mkey.c (krb5_db_setup_mkey_name): Use size_t instead of
authorEzra Peisach <epeisach@mit.edu>
Mon, 23 Dec 2002 18:12:29 +0000 (18:12 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 23 Dec 2002 18:12:29 +0000 (18:12 +0000)
        int for lengths.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15069 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kdb/ChangeLog
src/lib/kdb/setup_mkey.c

index 0211a55b37371ca65890696af75e6070226f065e..00f30dd92da4d7287d554e12beca8b9ae0e3c88e 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-23  Ezra Peisach  <epeisach@bu.edu>
+
+       * setup_mkey.c (krb5_db_setup_mkey_name): Use size_t instead of
+       int for lengths.
+
 2002-12-18  Ken Raeburn  <raeburn@mit.edu>
 
        * Makefile.in (check): Remove test_db before running tests.
index 1788ecdd875ee4851c9d2c1624e97a5701a22b49..61f1ef3e6e914aa09b50101187219edffb15031f 100644 (file)
@@ -47,8 +47,8 @@ krb5_db_setup_mkey_name(context, keyname, realm, fullname, principal)
     krb5_principal *principal;
 {
     krb5_error_code retval;
-    int keylen;
-    int rlen = strlen(realm);
+    size_t keylen;
+    size_t rlen = strlen(realm);
     char *fname;
     
     if (!keyname)