From 6f78873114061812b3a0545d28fd30e8a707676d Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sun, 12 Apr 2020 20:06:18 +0200 Subject: [PATCH] Fix format type --- src/hasp_debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hasp_debug.cpp b/src/hasp_debug.cpp index 237abb12..17f0e3f1 100644 --- a/src/hasp_debug.cpp +++ b/src/hasp_debug.cpp @@ -225,7 +225,7 @@ static void debugPrintTimestamp(int level, Print * _logOutput) char buffer[64]; strftime(buffer, sizeof(buffer), "[%b %d %H:%M:%S.", timeinfo); // Literal String _logOutput->print(buffer); - _logOutput->printf(PSTR("%03u]"), millis() % 1000); + _logOutput->printf(PSTR("%03lu]"), millis() % 1000); } else { _logOutput->printf(PSTR("[%20.3f]"), (float)millis() / 1000); }