From 50313ebbd2fd8d92ced50289b310ddafa0057e21 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Wed, 24 May 2023 22:58:21 +0200 Subject: [PATCH] cast to big enough type --- CommandDistributor.cpp | 2 +- GITHUB_SHA.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CommandDistributor.cpp b/CommandDistributor.cpp index 7ff17bc..ab6b52f 100644 --- a/CommandDistributor.cpp +++ b/CommandDistributor.cpp @@ -168,7 +168,7 @@ void CommandDistributor::broadcastClockTime(int16_t time, int8_t rate) { // be safe for both types. broadcastReply(COMMAND_TYPE, F("\n"),time, rate); #ifdef CD_HANDLE_RING - broadcastReply(WITHROTTLE_TYPE, F("PFT%d<;>%d\n"), time*60, rate); + broadcastReply(WITHROTTLE_TYPE, F("PFT%l<;>%d\n"), (int32_t)time*60, rate); #endif } diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index a564b97..68a2918 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202305241131Z" +#define GITHUB_SHA "devel-202305242057Z"