Commit 24667e1f authored by Rene Bolldorf's avatar Rene Bolldorf
Browse files

Fix compilation error: invalid conversion from 'const char*' to 'char*'.

Change-Id: I1116bf4360493f2cfed1158310ac2966abfedd56
parent 904607b8
......@@ -173,7 +173,7 @@ static int minPositive(int a, int b)
* is no such character in a.
*/
static int indexOf(const char *a, char b) {
char *ix = strchr(a, b);
const char *ix = strchr(a, b);
if (ix == NULL)
return -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment