JSC-electronics / Adeon

C++ library for processing commands from Adeon android mobile app.
Apache License 2.0
0 stars 0 forks source link

Arduino Mega: MD5 bitshift warning #13

Closed vzahradnik closed 3 years ago

vzahradnik commented 3 years ago

Following error is thrown while building sketches for Arduino Mega:

/home/travis/Arduino/libraries/Adeon/src/utility/MD5.cpp: In static member function 'static void MD5::MD5Update(void*, const void*, size_t)':

/home/travis/Arduino/libraries/Adeon/src/utility/MD5.cpp:215:21: warning: right shift count >= width of type [-Wshift-count-overflow]

  ctx->hi += size >> 29
vzahradnik commented 3 years ago

Duplicate of #3