Merge branch 'cast' of github.com:Lauszus/Arduino into Lauszus-cast
Conflicts: hardware/arduino/avr/cores/arduino/Print.cpp
This commit is contained in:
commit
bf37051397
|
@ -41,7 +41,7 @@ size_t Print::write(const uint8_t *buffer, size_t size)
|
|||
|
||||
size_t Print::print(const __FlashStringHelper *ifsh)
|
||||
{
|
||||
PGM_P p = (PGM_P)ifsh;
|
||||
PGM_P p = reinterpret_cast<PGM_P>(ifsh);
|
||||
size_t n = 0;
|
||||
while (1) {
|
||||
unsigned char c = pgm_read_byte(p++);
|
||||
|
|
Loading…
Reference in New Issue