diff --git a/examples/ulog_info.cpp b/examples/ulog_info.cpp index 3d8f3f0..c264cac 100644 --- a/examples/ulog_info.cpp +++ b/examples/ulog_info.cpp @@ -4,6 +4,7 @@ ****************************************************************************/ #include +#include #include #include #include @@ -108,8 +109,8 @@ int main(int argc, char** argv) if (logging.hasTag()) { tag_str = std::to_string(logging.tag()) + " "; } - printf(" %s<%s> %lu %s\n", tag_str.c_str(), logging.logLevelStr().c_str(), logging.timestamp(), - logging.message().c_str()); + printf(" %s<%s> %" PRIu64 " %s\n", tag_str.c_str(), logging.logLevelStr().c_str(), + logging.timestamp(), logging.message().c_str()); } // Params (init, after, defaults)