From 7bd2f594a32d7c495a5c3857964dca638d680b12 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sun, 15 Feb 2015 12:29:26 -0500 Subject: [PATCH] Cortex: LoggingConsumer: use B_PRIdBIGTIME for message formatting. Pointed out by Axel and Jessica. Thanks! --- src/apps/cortex/addons/LoggingConsumer/LoggingConsumer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/cortex/addons/LoggingConsumer/LoggingConsumer.cpp b/src/apps/cortex/addons/LoggingConsumer/LoggingConsumer.cpp index 1997e519ff..5539dbcf63 100644 --- a/src/apps/cortex/addons/LoggingConsumer/LoggingConsumer.cpp +++ b/src/apps/cortex/addons/LoggingConsumer/LoggingConsumer.cpp @@ -527,7 +527,8 @@ LoggingConsumer::NodeRegistered() void LoggingConsumer::Start(bigtime_t performance_time) { - PRINT(("LoggingConsumer::Start(%ld): now %ld\n", performance_time, TimeSource()->Now())); + PRINT(("LoggingConsumer::Start(%" B_PRIdBIGTIME "): now %" B_PRIdBIGTIME "\n", + performance_time, TimeSource()->Now())); log_message logMsg; logMsg.now = TimeSource()->Now();