From c4aaf7678cf6a02c24524f71fba7663602466f07 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Thu, 23 Feb 2017 12:13:49 +0100 Subject: [PATCH] - neutrino.cpp: fix compiler warning; ... msg and data is type long unsigned int, so %lu seems the right format, but above %lX is used too and it works fine. So, what's the right one? --- src/neutrino.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 1844b0276..57a0ca62c 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3520,7 +3520,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data) return messages_return::handled; } if ((msg >= CRCInput::RC_WithData) && (msg < CRCInput::RC_WithData + 0x10000000)) { - INFO("###################################### DELETED msg %x data %x\n", msg, data); + INFO("###################################### DELETED msg %lX data %lX\n", msg, data); delete [] (unsigned char*) data; return messages_return::handled; }