From f8a946889e9e9214728afa622ab256c4c2ee7255 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 21 Feb 2017 11:16:57 +0000 Subject: [PATCH] Remove compiler warnings. --- Modem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modem.cpp b/Modem.cpp index 7c3c631..93b8358 100644 --- a/Modem.cpp +++ b/Modem.cpp @@ -1347,7 +1347,7 @@ void CModem::dumpSamples() struct tm* tm = ::localtime(&now); - char* mode = NULL; + const char* mode = NULL; switch (m_buffer[5U]) { case MODE_DSTAR: mode = "DStar";