diff options
author | Cristian Maglie <c.maglie@bug.st> | 2013-12-31 20:11:08 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-12-31 20:11:08 +0100 |
commit | bf370513979ce886816bc4670295c9f6c259d8ef (patch) | |
tree | a25ebf580a944b724886f0f0715d281b9024c9cd /cores/arduino/Print.cpp | |
parent | 1978e82e4e531b641868432727ed70b4838fc12c (diff) | |
parent | ad9f78d727869e321e7d8111a48899399b8e1e87 (diff) |
Merge branch 'cast' of github.com:Lauszus/Arduino into Lauszus-cast
Conflicts:
hardware/arduino/avr/cores/arduino/Print.cpp
Diffstat (limited to 'cores/arduino/Print.cpp')
-rw-r--r-- | cores/arduino/Print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp index 86cac38..5df5630 100644 --- a/cores/arduino/Print.cpp +++ b/cores/arduino/Print.cpp @@ -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++); |