From 79be2dbcdb96762e510a9eafc80dc610ed89c9e8 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Sun, 19 Feb 2006 16:34:15 +0000 Subject: [PATCH] Anything else than void* cannot be print with %p ... This commit was SVN r9094. --- ompi/datatype/dt_args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/datatype/dt_args.c b/ompi/datatype/dt_args.c index e2761516b0..9822365e2a 100644 --- a/ompi/datatype/dt_args.c +++ b/ompi/datatype/dt_args.c @@ -230,7 +230,7 @@ int32_t ompi_ddt_print_args( const ompi_datatype_t* pData ) if( temp->flags & DT_FLAG_PREDEFINED ) { printf( "%s ", temp->name ); } else { - printf( "%p ", temp ); + printf( "%p ", (void*)temp ); } } printf( "\n" );