Clear warnings/errors within BN_CTX_DEBUG code sections
[openssl.git] / crypto / bn / bn_ctx.c
index 3f2256f67575aeca46c110ba8416bfba1daa60af..d5eb02268d325a47e3f78c870d2c09f8856ae5ad 100644 (file)
@@ -60,7 +60,8 @@
 #endif
 #endif
 
-#include <stdio.h>
+
+
 #include <assert.h>
 
 #include "cryptlib.h"
@@ -158,7 +159,7 @@ static void ctxdbg(BN_CTX *ctx)
        unsigned int bnidx = 0, fpidx = 0;
        BN_POOL_ITEM *item = ctx->pool.head;
        BN_STACK *stack = &ctx->stack;
-       fprintf(stderr,"(%08x): ", (unsigned int)ctx);
+       fprintf(stderr,"(%16p): ", ctx);
        while(bnidx < ctx->used)
                {
                fprintf(stderr,"%03x ", item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax);