aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/ChangeLog5
-rw-r--r--common/mkdtemp.c4
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 <[email protected]>
+
+ * mkdtemp.c: Replaced byte by unsigned char because it is no longer
+ defined in gcrypt.h.
+
2002-05-21 Werner Koch <[email protected]>
* 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;