mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-03 17:11:32 +00:00
Fix a bad cast.
This commit is contained in:
parent
48ee9a828d
commit
8d86da5715
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179797
@ -199,7 +199,7 @@ my_wctomb_utf8(char *p, wchar_t wc)
|
||||
* Awkward point: UTF-8 <-> wchar_t conversions
|
||||
* can actually fail.
|
||||
*/
|
||||
return ((size_t)-1);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user