From 6f7243e070a4b8397b9e62c502bce07a8a5bd9e0 Mon Sep 17 00:00:00 2001 From: John Ronan Date: Mon, 5 Jun 2017 15:01:27 +0100 Subject: [PATCH] added 'L' for consistency --- APRSWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APRSWriter.cpp b/APRSWriter.cpp index ba541bc..87458a8 100644 --- a/APRSWriter.cpp +++ b/APRSWriter.cpp @@ -151,7 +151,7 @@ void CAPRSWriter::sendIdFrames() if (m_txFrequency != 0U) { float offset = float(int(m_rxFrequency) - int(m_txFrequency)) / 1000000.0F; ::sprintf(desc, "MMDVM Voice %.5LfMHz %c%.4lfMHz", - (long double)(m_txFrequency) / 1000000.0F, + (long double)(m_txFrequency) / 1000000.0L, offset < 0.0F ? '-' : '+', ::fabs(offset)); } else {