1
0
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:
Cristian Maglie 2013-12-31 20:11:08 +01:00
commit ffddfc81f6

View File

@ -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++);