1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 04:41:24 +01:00

cast to big enough type

This commit is contained in:
Harald Barth 2023-05-24 22:58:21 +02:00
parent 72bfc6abc7
commit 50313ebbd2
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ void CommandDistributor::broadcastClockTime(int16_t time, int8_t rate) {
// be safe for both types.
broadcastReply(COMMAND_TYPE, F("<jC %d %d>\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
}

View File

@ -1 +1 @@
#define GITHUB_SHA "devel-202305241131Z"
#define GITHUB_SHA "devel-202305242057Z"