Skip to content

Commit

Permalink
Arduino Mega compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklaf committed May 22, 2023
1 parent 02aee1f commit 2c0559d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BER.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const uint32_t IntegerBER::decode(char *buffer) {
_value = 0;
for (uint32_t index = 0; index < _length; ++index) {
_value <<= 8;
_value |= *pointer++;
_value |= static_cast<uint8_t>(*pointer++);
}
_size = pointer - buffer;
}
Expand Down

0 comments on commit 2c0559d

Please sign in to comment.