Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Christian Bell (christian.bell_at_[hidden])
Date: 2006-10-17 23:40:19


I'd propose using inttypes defines to handle this issue portably:

On Tue, 17 Oct 2006, bosilca_at_[hidden] wrote:

> -#define ORTE_TRANSPORT_KEY_FMT "%016lx-%016lx"
> +#define ORTE_TRANSPORT_KEY_FMT "%016llx-%016llx"

   #include <inttypes.h>

   #define ORTE_TRANSPORT_KEY_FMT "%016" PRIx64 "-%016" PRIx64

cheers,

    . . christian

-- 
christian.bell_at_[hidden]
(QLogic SIG, formerly Pathscale)