From 77cdeb5b930c473488933e04573159bda93b9491 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Mon, 10 Oct 2011 11:28:44 -0400 Subject: Fixing more warnings (Paul Stoffregen). --- cores/arduino/Print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/Print.cpp') diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp index 500de8c..ff9b154 100755 --- a/cores/arduino/Print.cpp +++ b/cores/arduino/Print.cpp @@ -54,7 +54,7 @@ size_t Print::print(const __FlashStringHelper *ifsh) size_t Print::print(const String &s) { size_t n = 0; - for (int i = 0; i < s.length(); i++) { + for (uint16_t i = 0; i < s.length(); i++) { n += write(s[i]); } return n; -- cgit v1.2.3-18-g5258