Mercurial > noffle
diff src/util.h @ 59:e612b263934f noffle
[svn] Changed some variable types and used some casts to avoid compiler
warnings about signedness. In general, int should be used for parameters
for allowing a signedness assertion in the function.
author | enz |
---|---|
date | Fri, 12 May 2000 17:52:41 +0100 |
parents | 125d79c9e586 |
children | bf8c97460fd7 |
line wrap: on
line diff
--- a/src/util.h Fri May 12 17:52:07 2000 +0100 +++ b/src/util.h Fri May 12 17:52:41 2000 +0100 @@ -3,7 +3,7 @@ Miscellaneous helper functions. - $Id: util.h 60 2000-05-09 22:28:38Z uh1763 $ + $Id: util.h 65 2000-05-12 16:52:41Z enz $ */ #ifndef UTL_H @@ -83,13 +83,13 @@ Utl_cpyStr( Str dst, const char *src ); void -Utl_cpyStrN( Str dst, const char *src, size_t n ); +Utl_cpyStrN( Str dst, const char *src, int n ); void Utl_catStr( Str dst, const char *src ); void -Utl_catStrN( Str dst, const char *src, size_t n ); +Utl_catStrN( Str dst, const char *src, int n ); /* String allocation and copying. */ void