From 59b68fde7b14fbcf3f0247f9df7bc2b6e8f67355 Mon Sep 17 00:00:00 2001 From: Nicole Lemaster Slattengren Date: Fri, 5 Apr 2019 09:55:34 -0700 Subject: [PATCH] #306: remove format warnings --- examples/epoch_example.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/epoch_example.cc b/examples/epoch_example.cc index d2d2750a2e..42b18e4491 100644 --- a/examples/epoch_example.cc +++ b/examples/epoch_example.cc @@ -45,6 +45,7 @@ #include "vt/transport.h" #include +#include using namespace vt; @@ -77,8 +78,8 @@ int main(int argc, char** argv) { ::fmt::print( "epoch={}, seq={}\n", rooted, get_seq ); - printf("epoch %llu , %llx : seq %llu , %llx\n", rooted, rooted, get_seq, get_seq); - printf("epoch %llu , %llx : seq %llu , %llx\n", next, next, next_seq, next_seq); + printf("epoch %" PRIu64 " , %" PRIx64 " : seq %" PRIu64 " , %" PRIx64 "\n", rooted, rooted, get_seq, get_seq); + printf("epoch %" PRIu64 " , %" PRIx64 " : seq %" PRIu64 " , %" PRIx64 "\n", next, next, next_seq, next_seq); } while (!rt->isTerminated()) {