From 4732e33646e665194630a9a5fe4d91c1c900ac14 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sat, 13 May 2006 00:57:26 +0000 Subject: [PATCH] Use unsigned char rather than u_int8_t in random_string() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18002 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/cc_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/ccache/cc_memory.c b/src/lib/krb5/ccache/cc_memory.c index fd4271032..9ead3a6f5 100644 --- a/src/lib/krb5/ccache/cc_memory.c +++ b/src/lib/krb5/ccache/cc_memory.c @@ -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) { -- 2.26.2