Skip to content

Commit

Permalink
#306: remove format warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nlslatt authored and lifflander committed Apr 16, 2019
1 parent 1c97032 commit 59b68fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/epoch_example.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#include "vt/transport.h"

#include <cstdlib>
#include <inttypes.h>

using namespace vt;

Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit 59b68fd

Please sign in to comment.