Closed pat1 closed 2 years ago
/home/pat1/git/rmap/platformio/libraries/Rmap/utility.cpp: In function 'uint32_t getUINT32FromUINT8(uint8_t*)': /home/pat1/git/rmap/platformio/libraries/Rmap/utility.cpp:34:35: warning: left shift count >= width of type [-Wshift-count-overflow] Compiling .pio/build/644pa8m/lib4a1/ArduinoLog/ArduinoLog.cpp.o return (uint32_t) (buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]); ^~ /home/pat1/git/rmap/platformio/libraries/Rmap/utility.cpp:34:53: warning: left shift count >= width of type [-Wshift-count-overflow] return (uint32_t) (buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]); ^~ /home/pat1/git/rmap/platformio/libraries/Rmap/utility.cpp: In function 'uint32_t getUINT32FromUINT8(uint8_t, uint8_t, uint8_t, uint8_t)': /home/pat1/git/rmap/platformio/libraries/Rmap/utility.cpp:38:32: warning: left shift count >= width of type [-Wshift-count-overflow] return (uint32_t) (byte_3 << 24 | byte_2 << 16 | byte_1 << 8 | byte_0); ^~ Archiving .pio/build/644pa8m/libFrameworkArduinoVariant.a /home/pat1/git/rmap/platformio/libraries/Rmap/utility.cpp:38:47: warning: left shift count >= width of type [-Wshift-count-overflow] return (uint32_t) (byte_3 << 24 | byte_2 << 16 | byte_1 << 8 | byte_0);