* arcfour_s2k.c (asctouni): Counter should be size_t, like len
authorKen Raeburn <raeburn@mit.edu>
Wed, 19 Oct 2005 22:47:35 +0000 (22:47 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 19 Oct 2005 22:47:35 +0000 (22:47 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17435 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/arcfour/ChangeLog
src/lib/crypto/arcfour/arcfour_s2k.c

index 8f6d3d53d4d97de6aa23a16db65bdd11fb14e7be..1eaac886c575f40fa7ab4722c375d3632d4bb5d4 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-19  Ken Raeburn  <raeburn@mit.edu>
+
+       * arcfour_s2k.c (asctouni): Counter should be size_t, like len.
+
 2005-07-02  Ken Raeburn  <raeburn@mit.edu>
 
        * arcfour_s2k.c: Renamed from string_to_key.c.
index 57a64b3e94c76fd02b32a21e3b54d5ff43760669..efa92bfb11c3c92fc8af38a07ac2b5af56023fbb 100644 (file)
@@ -4,7 +4,7 @@
 
 static void asctouni(unsigned char *unicode, unsigned char *ascii, size_t len)
 {
-       int counter;
+       size_t counter;
        for (counter=0;counter<len;counter++) {
                unicode[2*counter]=ascii[counter];
                unicode[2*counter + 1]=0x00;