From 06bf4c3f3b809afc519d33ff5df1f4171706f2be Mon Sep 17 00:00:00 2001 From: Tim Prins Date: Wed, 6 Jun 2007 22:37:26 +0000 Subject: [PATCH] fix some printf warnings This commit was SVN r14934. --- ompi/mca/btl/gm/btl_gm_proc.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ompi/mca/btl/gm/btl_gm_proc.c b/ompi/mca/btl/gm/btl_gm_proc.c index 6b6561dfcc..83f0e36d1c 100644 --- a/ompi/mca/btl/gm/btl_gm_proc.c +++ b/ompi/mca/btl/gm/btl_gm_proc.c @@ -21,6 +21,10 @@ #include "opal/class/opal_hash_table.h" #include "ompi/mca/pml/base/pml_base_module_exchange.h" +#ifdef HAVE_INTTYPES_H +#include +#endif + #include "btl_gm.h" #include "btl_gm_proc.h" @@ -185,7 +189,8 @@ int mca_btl_gm_proc_insert( return OMPI_ERROR; } if(mca_btl_gm_component.gm_debug > 0) { - opal_output(0, "[%ld,%ld,%ld] mapped global id %lu to node id %lu\n", + opal_output(0, "[%ld,%ld,%ld] mapped global id %" PRIu32 + " to node id %" PRIu32 "\n", ORTE_NAME_ARGS(orte_process_info.my_name), gm_endpoint->endpoint_addr.global_id, gm_endpoint->endpoint_addr.node_id);