summaryrefslogtreecommitdiff
path: root/src/secmem.c
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2003-08-27 14:53:29 +0000
committerMoritz Schulte <mo@g10code.com>2003-08-27 14:53:29 +0000
commit5024734ba4f2e9b13a4b5c0ed05c0e8324e1b6de (patch)
tree857ff6928d03633c8564c34d39784e21a9778fe6 /src/secmem.c
parent07259b9e3ec87fd9b4549d176fd98ce599c14494 (diff)
downloadlibgcrypt-5024734ba4f2e9b13a4b5c0ed05c0e8324e1b6de.tar.gz
2003-08-27 Moritz Schulte <mo@g10code.com>
* libgcrypt-config.in: Adjusted script for new thread handling. * Makefile.am: New version, based on GPGMEs Makefile.am. * ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c, ath-pthread.c, ath-pthread-compat.c: New files, merged from GPGME. * ath.c, ath.h, ath-pthread.c, ath-pth.c: Removed files.
Diffstat (limited to 'src/secmem.c')
-rw-r--r--src/secmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/secmem.c b/src/secmem.c
index 00e1565c..0d038ae3 100644
--- a/src/secmem.c
+++ b/src/secmem.c
@@ -539,7 +539,7 @@ _gcry_secmem_realloc (void *p, size_t newsize)
SECMEM_LOCK;
- mb = (memblock_t *) ((char *) p - ((size_t) & ((memblock_t *) 0)->aligned.c));
+ mb = (memblock_t *) ((char *) p - ((size_t) &((memblock_t *) 0)->aligned.c));
size = mb->size;
if (newsize < size)
return p; /* it is easier not to shrink the memory */