From c36d4d0be549f0f29e49e46dd1a04f8f9e310a58 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 28 Jan 2017 19:48:33 +0100 Subject: [PATCH] [X9E] Compilation fix on recent gcc --- radio/src/targets/taranis/top_lcd_driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/targets/taranis/top_lcd_driver.cpp b/radio/src/targets/taranis/top_lcd_driver.cpp index 179f6b106..e0bf2f467 100644 --- a/radio/src/targets/taranis/top_lcd_driver.cpp +++ b/radio/src/targets/taranis/top_lcd_driver.cpp @@ -262,7 +262,7 @@ void setTopFirstTimer(int32_t value) } } - div_t qr = div(value, 60); + div_t qr = div((int)value, 60); uint32_t r = qr.rem; qr = div(qr.quot, 10);