diff options
author | Mike Lockwood <lockwood@android.com> | 2010-05-19 15:37:06 -0400 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2010-08-24 14:44:06 -0700 |
commit | 109038dd9c68bcc9ec5e247b7488c67785ac95fb (patch) | |
tree | b550953a5c706a2c0db40839730d0d8876684909 /android/OldPhoneNumberUtils.cpp | |
parent | 320e6966e0d3ecf2eed56e9c2c03fe9e9040c84e (diff) |
Fix problem with const result from strchr() [DO NOT MERGE]
Needed for simulator build on newer Ubuntu distributions.
Based on Ibb8cd3cdb4feae89a20eec56131e322f39721b1a
Change-Id: Ie574888128265e026973a5ac88ede87730eda7d4
Diffstat (limited to 'android/OldPhoneNumberUtils.cpp')
-rw-r--r-- | android/OldPhoneNumberUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; |