diff options
author | Mike Lockwood <lockwood@android.com> | 2010-07-15 14:58:25 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-07-15 15:02:52 -0400 |
commit | 5a23f8c41ee83a0316ae8265841beaf6d97a66d9 (patch) | |
tree | e1b412b2a210d6a44326f01e6f865db68f16ef5b /media/libstagefright/NuHTTPDataSource.cpp | |
parent | ce38d0c2e5bab454d9cb9f9ab6e99483b4754c87 (diff) | |
download | frameworks_base-5a23f8c41ee83a0316ae8265841beaf6d97a66d9.zip frameworks_base-5a23f8c41ee83a0316ae8265841beaf6d97a66d9.tar.gz frameworks_base-5a23f8c41ee83a0316ae8265841beaf6d97a66d9.tar.bz2 |
Fixes for simulator build on lucid
strchr and strrchr now return const char* instead of char*
Change-Id: I5ca831b8951af7e6306eb9d9d6f78ed2ec13d649
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/libstagefright/NuHTTPDataSource.cpp')
-rw-r--r-- | media/libstagefright/NuHTTPDataSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/NuHTTPDataSource.cpp b/media/libstagefright/NuHTTPDataSource.cpp index ab9285d..332bab3 100644 --- a/media/libstagefright/NuHTTPDataSource.cpp +++ b/media/libstagefright/NuHTTPDataSource.cpp @@ -42,7 +42,7 @@ static bool ParseURL( path->setTo(slashPos); } - char *colonPos = strchr(host->string(), ':'); + const char *colonPos = strchr(host->string(), ':'); if (colonPos != NULL) { unsigned long x; |