aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Print.cpp
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-03-03 22:56:20 -0500
committerDavid A. Mellis <d.mellis@arduino.cc>2011-03-03 22:56:20 -0500
commit5e721df32a49d8f74058ba0f824ffe9686a0c9d7 (patch)
treedbbef97b4ecbdc2306854a9374621162f6d794e0 /cores/arduino/Print.cpp
parent5515442dbb3efe23bc7572c80270829257371bb8 (diff)
Fixing warnings (David H. Lynch Jr).
Diffstat (limited to 'cores/arduino/Print.cpp')
-rwxr-xr-xcores/arduino/Print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp
index 4ee556d..fd68942 100755
--- a/cores/arduino/Print.cpp
+++ b/cores/arduino/Print.cpp
@@ -45,7 +45,7 @@ void Print::write(const uint8_t *buffer, size_t size)
void Print::print(const String &s)
{
- for (int i = 0; i < s.length(); i++) {
+ for (unsigned int i = 0; i < s.length(); i++) {
write(s[i]);
}
}