The fourth parameter of _citrus_ctype_mbrtowc() is a size_t, not a

pointer type. So use 0 instead of NULL.
This commit is contained in:
scw 2003-04-29 14:53:12 +00:00
parent 009fcb6ef7
commit 1fe87ac688

View File

@ -1,4 +1,4 @@
/* $NetBSD: multibyte.h,v 1.2 2002/03/18 22:58:44 tshiozak Exp $ */
/* $NetBSD: multibyte.h,v 1.3 2003/04/29 14:53:12 scw Exp $ */
/*-
* Copyright (c)2002 Citrus Project,
@ -108,7 +108,7 @@ _init_ps(_RuneLocale *rl, mbstate_t *ps)
{
size_t dum;
_ps_to_runestate(ps)->rs_runelocale = rl;
_citrus_ctype_mbrtowc(rl->rl_citrus_ctype, NULL, NULL, NULL,
_citrus_ctype_mbrtowc(rl->rl_citrus_ctype, NULL, NULL, 0,
_ps_to_private(ps), &dum);
}