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
This commit is contained in:
Dan Albert
2014-09-23 15:32:24 -07:00
parent 87b6906f6e
commit 3c5037f1b3
5 changed files with 8 additions and 8 deletions

View File

@@ -151,8 +151,8 @@ extern wchar_t *wmemset(wchar_t *, wchar_t, size_t);
extern int wprintf(const wchar_t *, ...);
extern int wscanf(const wchar_t *, ...);
extern long long wcstoll_l(const wchar_t *, wchar_t **, size_t, locale_t);
extern unsigned long long wcstoull_l(const wchar_t *, wchar_t **, size_t, locale_t);
extern long long wcstoll_l(const wchar_t *, wchar_t **, int, locale_t);
extern unsigned long long wcstoull_l(const wchar_t *, wchar_t **, int, locale_t);
extern long double wcstold_l(const wchar_t *, wchar_t **, locale_t );
extern int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);