diff options
author | David 'Digit' Turner <digit@google.com> | 2010-06-23 12:41:50 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-06-23 12:41:50 -0700 |
commit | cb43ffeb10e7276714df5ccda304e14a15430e5f (patch) | |
tree | bcdb6199e028ab9cb704b403b882246eb28ffbd7 /libc/stdlib | |
parent | 55cb28032df7ca0febaef54086679cac243761c6 (diff) | |
parent | cb0f5ed8111d4305cf6798aefdb4f9623570c83a (diff) | |
download | bionic-cb43ffeb10e7276714df5ccda304e14a15430e5f.zip bionic-cb43ffeb10e7276714df5ccda304e14a15430e5f.tar.gz bionic-cb43ffeb10e7276714df5ccda304e14a15430e5f.tar.bz2 |
am cb0f5ed8: am 50ace4fe: Remove compiler warnings when building Bionic.
Merge commit 'cb0f5ed8111d4305cf6798aefdb4f9623570c83a'
* commit 'cb0f5ed8111d4305cf6798aefdb4f9623570c83a':
Remove compiler warnings when building Bionic.
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/strntoumax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/strntoumax.c b/libc/stdlib/strntoumax.c index a151ef5..050d718 100644 --- a/libc/stdlib/strntoumax.c +++ b/libc/stdlib/strntoumax.c @@ -48,7 +48,7 @@ static inline int digitval(int ch) uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) { - const unsigned char* p = nptr; + const unsigned char* p = (const unsigned char *)nptr; const unsigned char* end = p + n; int minus = 0; uintmax_t v = 0; |