summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorredman <redman>1999-07-22 01:08:03 (GMT)
committerredman <redman>1999-07-22 01:08:03 (GMT)
commit54b6980992593dd026c12db3f5aaef9dce67e0e3 (patch)
tree5dbfa8778122c25040f24668b6e635cf0ab23b40 /generic/tclUtf.c
parent0921ebbcedf454aec8e95005807f6f564f812299 (diff)
downloadtcl-54b6980992593dd026c12db3f5aaef9dce67e0e3.zip
tcl-54b6980992593dd026c12db3f5aaef9dce67e0e3.tar.gz
tcl-54b6980992593dd026c12db3f5aaef9dce67e0e3.tar.bz2
* doc/Utf.3:
* generic/tcl.decls: * generic/tclInt.decls: * generic/tclDecls.h: * generic/tclIntDecls.h: * generic/tclUtf.c: * compat/strftime.c: * unix/tclUnixTime.c: Changed function declarations in non-platform-specific APIs to use "unsigned long" instead of "size_t", which may not be defined on certain compilers (rather than include sys/types.h, which may not exist).
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r--generic/tclUtf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index 9b21f4f..8a2354e 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUtf.c,v 1.9 1999/06/24 03:27:57 stanton Exp $
+ * RCS: @(#) $Id: tclUtf.c,v 1.10 1999/07/22 01:08:05 redman Exp $
*/
#include "tclInt.h"
@@ -1080,7 +1080,7 @@ int
Tcl_UtfNcmp(cs, ct, n)
CONST char *cs; /* UTF string to compare to ct. */
CONST char *ct; /* UTF string cs is compared to. */
- size_t n; /* Number of UTF chars to compare. */
+ unsigned long n; /* Number of UTF chars to compare. */
{
Tcl_UniChar ch1, ch2;
/*
@@ -1127,7 +1127,7 @@ int
Tcl_UtfNcasecmp(cs, ct, n)
CONST char *cs; /* UTF string to compare to ct. */
CONST char *ct; /* UTF string cs is compared to. */
- size_t n; /* Number of UTF chars to compare. */
+ unsigned long n; /* Number of UTF chars to compare. */
{
Tcl_UniChar ch1, ch2;
while (n-- > 0) {
@@ -1294,7 +1294,7 @@ int
Tcl_UniCharNcmp(cs, ct, n)
CONST Tcl_UniChar *cs; /* Unicode string to compare to ct. */
CONST Tcl_UniChar *ct; /* Unicode string cs is compared to. */
- size_t n; /* Number of unichars to compare. */
+ unsigned long n; /* Number of unichars to compare. */
{
for ( ; n != 0; n--, cs++, ct++) {
if (*cs != *ct) {