summaryrefslogtreecommitdiff
path: root/src/stdmem.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-07-25 14:50:55 +0000
committerWerner Koch <wk@gnupg.org>2002-07-25 14:50:55 +0000
commit294ac960782a89887d845d605a5aaf2601910e93 (patch)
tree680c8450363b7cc008141ecb50bf6944b14ace16 /src/stdmem.c
parent3073310033db6160d90a8f038a35364ab82f79dd (diff)
downloadlibgcrypt-294ac960782a89887d845d605a5aaf2601910e93.tar.gz
* cipher.h: Added prototypes for progress functions.
* global.c: Include cipher.h for those prototypes. * stdmem.c (_gcry_private_realloc): Replaced void* by char * for pointer arithmetic reasons. Noted by Stephan Austermuehle.
Diffstat (limited to 'src/stdmem.c')
-rw-r--r--src/stdmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdmem.c b/src/stdmem.c
index 113eabc1..b5ddfcce 100644
--- a/src/stdmem.c
+++ b/src/stdmem.c
@@ -116,7 +116,7 @@ _gcry_private_realloc( void *a, size_t n )
{
if( use_m_guard ) {
unsigned char *p = a;
- void *b;
+ char *b;
size_t len;
if (!a)