OSDN Git Service

Fix incorrect parameter types for locale funcs.
authorDan Albert <danalbert@google.com>
Tue, 23 Sep 2014 22:32:24 +0000 (15:32 -0700)
committerDan Albert <danalbert@google.com>
Wed, 24 Sep 2014 16:00:42 +0000 (09:00 -0700)
commit086bb382db3de7459bc5fad6bb1c257ca331b0e8
treec31b0c477d55662b8be8e8669aa92a3c986a63d9
parent027d2717d067c3706f22bf84dc1226ede7c1566d
Fix incorrect parameter types for locale funcs.

strtoll(3), strtoull(3), wcstoll(3), and wcstoull(3) all take an _int_
as a base, not a size_t. This is an ABI compatibility issue.

Bug: 17628622
Change-Id: I17f8eead34ce2112005899fc30162067573023ec
(cherry picked from commit 3c5037f1b3b747e79d17a5f717d9f9c365132d33)
libc/bionic/strtoll_l.cpp
libc/bionic/strtoull_l.cpp
libc/bionic/wchar.cpp
libc/include/stdlib.h
libc/include/wchar.h