* lib/stdlib.in.h (gl_MB_CUR_MAX): Return size_t, not int,
to conform to POSIX.
+2024-12-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ stdlib: MB_CUR_MAX is type size_t
+ * lib/stdlib.in.h (gl_MB_CUR_MAX): Return size_t, not int,
+ to conform to POSIX.
+
2024-12-23 Bruno Haible <bruno@clisp.org>
setlocale: Support the UTF-8 environment on native Windows.
/* Return maximum number of bytes of a multibyte character. */
#if @REPLACE_MB_CUR_MAX@
# if !GNULIB_defined_MB_CUR_MAX
-static inline
-int gl_MB_CUR_MAX (void)
+static inline size_t
+gl_MB_CUR_MAX (void)
{
/* Turn the value 3 to the value 4, as needed for the UTF-8 encoding. */
return MB_CUR_MAX + (MB_CUR_MAX == 3);