Mercurial > noffle
changeset 58:b4e6f7f96135 noffle
[svn] Add some intermediate variables for easier debugging in needsMark().
It seems that thread mode is sometimes not working.
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:07 +0100 |
parents | 84e32c84666b |
children | e612b263934f |
files | src/client.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/client.c Fri May 12 16:47:29 2000 +0100 +++ b/src/client.c Fri May 12 17:52:07 2000 +0100 @@ -1,7 +1,7 @@ /* client.c - $Id: client.c 63 2000-05-12 15:47:29Z enz $ + $Id: client.c 64 2000-05-12 16:52:07Z enz $ */ #if HAVE_CONFIG_H @@ -358,7 +358,7 @@ static Bool isForbiddenGroupName( const char *name ) { - int i; + size_t i; for ( i = 0; i < sizeof( forbiddenGroupNames ) / @@ -812,7 +812,7 @@ const char *p; Log_inf( "Retrieving article list" ); - s = new_DynStr( strlen( list ) ); + s = new_DynStr( (int)strlen( list ) ); p = list; while ( ( p = Utl_getLn( msgId, p ) ) ) if ( ! Db_contains( msgId ) )