summaryrefslogtreecommitdiff
path: root/mpi/mpiutil.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-07-26 11:10:45 +0000
committerWerner Koch <wk@gnupg.org>2006-07-26 11:10:45 +0000
commitaa341655cd08be7b827e1bd3331d1bb6bb9df29c (patch)
tree660a6754ad2f8fa64b7e1a110f4295684fb4664e /mpi/mpiutil.c
parentc5e0e3ee0680196627758af15fae882329490c30 (diff)
downloadlibgcrypt-aa341655cd08be7b827e1bd3331d1bb6bb9df29c.tar.gz
Collected changes - see ChangeLogs
Diffstat (limited to 'mpi/mpiutil.c')
-rw-r--r--mpi/mpiutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c
index f50268f3..f6f9a8b2 100644
--- a/mpi/mpiutil.c
+++ b/mpi/mpiutil.c
@@ -405,7 +405,7 @@ void
gcry_mpi_randomize( gcry_mpi_t w,
unsigned int nbits, enum gcry_random_level level )
{
- char *p;
+ unsigned char *p;
size_t nbytes = (nbits+7)/8;
if (level == GCRY_WEAK_RANDOM)