Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion minimLibs/mString/mString.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class mString {
return (temp == NULL) ? -1 : (temp - buf);
}

int indexOf(char* ch, uint16_t fromIndex = 0) {
int indexOf(const char* ch, uint16_t fromIndex = 0) {
if (fromIndex >= length()) return -1;
const char* temp = strstr(buf + fromIndex, ch);
return (temp == NULL) ? -1 : (temp - buf);
Expand Down