aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WString.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2012-10-18 18:47:50 +0200
committerCristian Maglie <c.maglie@bug.st>2012-10-18 18:47:50 +0200
commit037020e938f7dde469f828764976635a69b74a3e (patch)
tree4677e869e5ceb7db0c076f32eb830b3e86e75dfc /cores/arduino/WString.h
parent6a45ba48ab1f2d0a168373a02ba7fded40a3470e (diff)
Merged latest changes in AVR arduino core
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r--cores/arduino/WString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h
index d76d2a3..947325e 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -35,7 +35,7 @@
// -std=c++0x
class __FlashStringHelper;
-#define F(string_literal) (reinterpret_cast<__FlashStringHelper *>(PSTR(string_literal)))
+#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
// An inherited class for holding the result of a concatenation. These
// result objects are assumed to be writable by subsequent concatenations.