From 3910c0f005523f69bf23cdcc8708a874f5c5004c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 22 May 2002 06:23:22 +0000 Subject: [PATCH] * mkdtemp.c: Replaced byte by unsigned char because it is no longer defined in gcrypt.h. --- common/ChangeLog | 5 +++++ common/mkdtemp.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common/ChangeLog b/common/ChangeLog index bf81cf873..7e273d837 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,3 +1,8 @@ +2002-05-22 Werner Koch + + * mkdtemp.c: Replaced byte by unsigned char because it is no longer + defined in gcrypt.h. + 2002-05-21 Werner Koch * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors. diff --git a/common/mkdtemp.c b/common/mkdtemp.c index 9b76f8957..5347b9cb4 100644 --- a/common/mkdtemp.c +++ b/common/mkdtemp.c @@ -38,7 +38,7 @@ char *mkdtemp(char *template) { int attempts,idx,count=0; - byte *ch; + unsigned char *ch; idx=strlen(template); @@ -62,7 +62,7 @@ char *mkdtemp(char *template) { int remaining=count; char *marker=ch; - byte *randombits; + unsigned char *randombits; idx=0;