Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/locale The fourth parameter of _citrus_ctype_mbrtow...



details:   https://anonhg.NetBSD.org/src/rev/f9f3dd9cdfec
branches:  trunk
changeset: 546460:f9f3dd9cdfec
user:      scw <scw%NetBSD.org@localhost>
date:      Tue Apr 29 14:53:12 2003 +0000

description:
The fourth parameter of _citrus_ctype_mbrtowc() is a size_t, not a
pointer type. So use 0 instead of NULL.

diffstat:

 lib/libc/locale/multibyte.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 76a1802bb5f5 -r f9f3dd9cdfec lib/libc/locale/multibyte.h
--- a/lib/libc/locale/multibyte.h       Tue Apr 29 14:04:01 2003 +0000
+++ b/lib/libc/locale/multibyte.h       Tue Apr 29 14:53:12 2003 +0000
@@ -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 @@
 {
        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);
 }
 



Home | Main Index | Thread Index | Old Index