]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change type of MB_CUR_MAX and MB_CUR_MAX_L() to size_t.
authorEd Schouten <ed@FreeBSD.org>
Thu, 28 Jul 2016 09:50:19 +0000 (09:50 +0000)
committerEd Schouten <ed@FreeBSD.org>
Thu, 28 Jul 2016 09:50:19 +0000 (09:50 +0000)
commit822b22a9bf21c61d772133805ffc911bb6cb974e
tree2ebfd56bc89466282d3aa2f316dcf3f10706a64f
parent2d19b736ed527c9d955a1b0adc59c30c9ad6b47b
Change type of MB_CUR_MAX and MB_CUR_MAX_L() to size_t.

POSIX requires that MB_CUR_MAX expands to an expression of type size_t.
It currently expands to an int. As these are already macros, don't
change the underlying type of these functions. There is no ned to touch
those.

Differential Revision: https://reviews.freebsd.org/D6645
include/stdlib.h
include/xlocale/_stdlib.h