From 76f7bd5e48c3e2113b72c6467ab3808391b447ca Mon Sep 17 00:00:00 2001 From: Terry Moore Date: Mon, 9 Sep 2019 12:36:54 -0400 Subject: [PATCH] Silence AVR warnings on ARDUINO_LMIC_VERSION --- src/lmic/lmic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lmic/lmic.h b/src/lmic/lmic.h index 0584c41e..8a73d902 100644 --- a/src/lmic/lmic.h +++ b/src/lmic/lmic.h @@ -103,7 +103,7 @@ extern "C"{ // Arduino LMIC version #define ARDUINO_LMIC_VERSION_CALC(major, minor, patch, local) \ - (((major) << 24u) | ((minor) << 16u) | ((patch) << 8u) | (local)) + (((major) << UINT32_C(24)) | ((minor) << UINT32_C(16)) | ((patch) << UINT32_C(8)) | ((local << UINT32_C(0)))) #define ARDUINO_LMIC_VERSION ARDUINO_LMIC_VERSION_CALC(3, 0, 99, 1) /* v3.0.99.1 */