diff options
author | redman <redman@noemail.net> | 1999-07-22 01:08:02 (GMT) |
---|---|---|
committer | redman <redman@noemail.net> | 1999-07-22 01:08:02 (GMT) |
commit | d2493ea3677d215d260840749e95a0f7f316ce69 (patch) | |
tree | 5dbfa8778122c25040f24668b6e635cf0ab23b40 /generic/tclUtf.c | |
parent | f855f19daf93e33664d965a351af50ec4cd18cd2 (diff) | |
download | tcl-d2493ea3677d215d260840749e95a0f7f316ce69.zip tcl-d2493ea3677d215d260840749e95a0f7f316ce69.tar.gz tcl-d2493ea3677d215d260840749e95a0f7f316ce69.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).
FossilOrigin-Name: 22b143003b180eaed3b7f8c9bad28df440ef6071
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r-- | generic/tclUtf.c | 8 |
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) { |