Skip to content

Commit

Permalink
Use unsigned char rather than u_int8_t in random_string().
Browse files Browse the repository at this point in the history
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18002 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tlyu committed May 13, 2006
1 parent 8e37bc5 commit 47bd400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/krb5/ccache/cc_memory.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 47bd400

Please sign in to comment.