diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2016-07-28 09:50:19 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2016-07-28 09:50:19 +0000 |
| commit | 822b22a9bf21c61d772133805ffc911bb6cb974e (patch) | |
| tree | 2ebfd56bc89466282d3aa2f316dcf3f10706a64f /include | |
| parent | 2d19b736ed527c9d955a1b0adc59c30c9ad6b47b (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/stdlib.h | 2 | ||||
| -rw-r--r-- | include/xlocale/_stdlib.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index cc6941b020143..73bc6ee9a00ac 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -77,7 +77,7 @@ __BEGIN_DECLS #endif extern int __mb_cur_max; extern int ___mb_cur_max(void); -#define MB_CUR_MAX (___mb_cur_max()) +#define MB_CUR_MAX ((size_t)___mb_cur_max()) _Noreturn void abort(void); int abs(int) __pure2; diff --git a/include/xlocale/_stdlib.h b/include/xlocale/_stdlib.h index 35a2580d4157f..d8356793d0c87 100644 --- a/include/xlocale/_stdlib.h +++ b/include/xlocale/_stdlib.h @@ -55,5 +55,5 @@ size_t wcstombs_l(char * __restrict, int wctomb_l(char *, wchar_t, locale_t); int ___mb_cur_max_l(locale_t); -#define MB_CUR_MAX_L(x) (___mb_cur_max_l(x)) +#define MB_CUR_MAX_L(x) ((size_t)___mb_cur_max_l(x)) |
