We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f304abe commit 2ea12d0Copy full SHA for 2ea12d0
hardware/arduino/avr/cores/arduino/Print.cpp
@@ -53,7 +53,7 @@ size_t Print::print(const __FlashStringHelper *ifsh)
53
54
size_t Print::print(const String &s)
55
{
56
- return write(reinterpret_cast<const uint8_t*>(s.c_str()), s.length());
+ return write(s.c_str(), s.length());
57
}
58
59
size_t Print::print(const char str[])
hardware/arduino/sam/cores/arduino/Print.cpp
@@ -46,7 +46,7 @@ size_t Print::print(const __FlashStringHelper *ifsh)
46
47
48
49
50
51
52
0 commit comments