mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
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
ffddfc81f6
@ -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
Block a user