diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-10-10 11:28:44 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-10-10 11:28:44 -0400 |
commit | 77cdeb5b930c473488933e04573159bda93b9491 (patch) | |
tree | 6b5a1348f5a2a26b8affc302ab66b5ac5ac9853f /cores/arduino/WString.h | |
parent | 075bb009b9bf48169921e1a43329ea49c15480bc (diff) |
Fixing more warnings (Paul Stoffregen).
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r-- | cores/arduino/WString.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index a601aca..d76d2a3 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -154,9 +154,9 @@ public: int indexOf( const String &str ) const; int indexOf( const String &str, unsigned int fromIndex ) const; int lastIndexOf( char ch ) const; - int lastIndexOf( char ch, int fromIndex ) const; + int lastIndexOf( char ch, unsigned int fromIndex ) const; int lastIndexOf( const String &str ) const; - int lastIndexOf( const String &str, int fromIndex ) const; + int lastIndexOf( const String &str, unsigned int fromIndex ) const; String substring( unsigned int beginIndex ) const; String substring( unsigned int beginIndex, unsigned int endIndex ) const; |