Skip to content

Commit f4499a0

Browse files
committed
Fix compile error.
1 parent 113a873 commit f4499a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NimBLEAddress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ bool NimBLEAddress::operator !=(const NimBLEAddress & rhs) const {
169169
* that accept std::string and/or or it's methods as a parameter.
170170
*/
171171
NimBLEAddress::operator std::string() const {
172-
char buffer[26];
172+
char buffer[28];
173173
snprintf(buffer, sizeof(buffer), "%02x:%02x:%02x:%02x:%02x:%02x type: %d",
174174
m_address[5], m_address[4], m_address[3],
175175
m_address[2], m_address[1], m_address[0],

0 commit comments

Comments
 (0)