diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-05-27 11:28:49 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-05-27 11:28:49 +0000 |
commit | 0a56761f1942ca27e7a573a1a083e20910eba996 (patch) | |
tree | bf01c0453a06f8002c380a2bdfc63edd53a9e390 /crypto/stack | |
parent | 220903f92e1b8fae5d8b9b8ee23bec828d03b7d9 (diff) |
Avoid warning about empty structures and always define CHECKED_PTR_OF
Diffstat (limited to 'crypto/stack')
-rw-r--r-- | crypto/stack/safestack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index d57519fd52..50de737c41 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -57,13 +57,13 @@ #include <openssl/stack.h> -#ifdef DEBUG_SAFESTACK - #ifndef CHECKED_PTR_OF #define CHECKED_PTR_OF(type, p) \ ((void*) (1 ? p : (type*)0)) #endif +#ifdef DEBUG_SAFESTACK + #define CHECKED_SK_FREE_FUNC(type, p) \ ((void (*)(void *)) ((1 ? p : (void (*)(type *))0))) |