We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09015f7 commit 5979f8dCopy full SHA for 5979f8d
cores/arduino/Print.cpp
@@ -46,7 +46,7 @@ size_t Print::print(const __FlashStringHelper *ifsh)
46
47
size_t Print::print(const String &s)
48
{
49
- return write(reinterpret_cast<const uint8_t*>(s.c_str()), s.length());
+ return write(s.c_str(), s.length());
50
}
51
52
size_t Print::print(const char str[])
0 commit comments