diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-03-03 22:56:20 -0500 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-03-03 22:56:20 -0500 |
commit | 5e721df32a49d8f74058ba0f824ffe9686a0c9d7 (patch) | |
tree | dbbef97b4ecbdc2306854a9374621162f6d794e0 /cores/arduino/WString.h | |
parent | 5515442dbb3efe23bc7572c80270829257371bb8 (diff) |
Fixing warnings (David H. Lynch Jr).
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r-- | cores/arduino/WString.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index cadddb9..56faf9a 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -67,7 +67,7 @@ class String int lastIndexOf( char ch, unsigned int fromIndex ) const; int lastIndexOf( const String &str ) const; int lastIndexOf( const String &str, unsigned int fromIndex ) const; - const unsigned int length( ) const { return _length; } + unsigned int length( ) const { return _length; } void setCharAt(unsigned int index, const char ch); unsigned char startsWith( const String &prefix ) const; unsigned char startsWith( const String &prefix, unsigned int toffset ) const; |