Use unsigned char rather than u_int8_t in random_string()
authorTom Yu <tlyu@mit.edu>
Sat, 13 May 2006 00:57:26 +0000 (00:57 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 13 May 2006 00:57:26 +0000 (00:57 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18002 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/cc_memory.c

index fd42710328df99cba02492d0fced945e783ead73..9ead3a6f56d173f973887bb0871c827373c4c1f7 100644 (file)
@@ -517,7 +517,7 @@ random_string (krb5_context context, char *string, krb5_int32 length)
     static const unsigned char charlist[] =
         "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
     krb5_error_code err = 0;
-    u_int8_t *bytes = NULL;
+    unsigned char *bytes = NULL;
     size_t bytecount = length - 1;
     
     if (!err) {