Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/citrus/modules Make intermediate size variable size...
details: https://anonhg.NetBSD.org/src/rev/81512b13dad8
branches: trunk
changeset: 765252:81512b13dad8
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 23 14:53:46 2011 +0000
description:
Make intermediate size variable size_t like the rest to avoid
unnecessary casting.
diffstat:
lib/libc/citrus/modules/citrus_big5.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4bc2637ee772 -r 81512b13dad8 lib/libc/citrus/modules/citrus_big5.c
--- a/lib/libc/citrus/modules/citrus_big5.c Mon May 23 14:52:32 2011 +0000
+++ b/lib/libc/citrus/modules/citrus_big5.c Mon May 23 14:53:46 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_big5.c,v 1.12 2008/06/14 16:01:07 tnozaki Exp $ */
+/* $NetBSD: citrus_big5.c,v 1.13 2011/05/23 14:53:46 joerg Exp $ */
/*-
* Copyright (c)2002, 2006 Citrus Project,
@@ -60,7 +60,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_big5.c,v 1.12 2008/06/14 16:01:07 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_big5.c,v 1.13 2011/05/23 14:53:46 joerg Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/queue.h>
@@ -393,7 +393,7 @@
size_t n, wchar_t wc, _BIG5State * __restrict psenc,
size_t * __restrict nresult)
{
- int l, ret;
+ size_t l, ret;
_DIAGASSERT(ei != NULL);
_DIAGASSERT(nresult != 0);
Home |
Main Index |
Thread Index |
Old Index