Fix problem with const result from strchr() [DO NOT MERGE]
Needed for simulator build on newer Ubuntu distributions.
Based on Ibb8cd3cdb4feae89a20eec56131e322f39721b1a
Change-Id: Ie574888128265e026973a5ac88ede87730eda7d4
diff --git a/android/OldPhoneNumberUtils.cpp b/android/OldPhoneNumberUtils.cpp
index 5f180dc..9c2f20e 100644
--- a/android/OldPhoneNumberUtils.cpp
+++ b/android/OldPhoneNumberUtils.cpp
@@ -173,7 +173,7 @@
* 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;