Re: problem with autowiz.c

From: Jess Heinig (jessh@white-wolf.com)
Date: 12/30/99


  I'm taking a shot in the dark, but I'd guess that the strlen calls are
returning unsigned while the j variable is defaulting to signed. Either
specify j as unsigned or use some process to convert the strlen material
to signed.

Jess Heinig

Tdz Computing wrote:

> Hello I have a problem with autowiz.c and I can't seem to fix it.Here
> it is:autowiz.c: In function `write_wizlist':
> autowiz.c:175: warning: comparison between signed and unsigned
> autowiz.c:195: warning: comparison between signed and unsigned
> Code: 175    for (j = 1; j <= (strlen(curr_level->params->level_name)
> >>1); j++)195    for (j = 1; j <= (IMM_NSIZE -
> strlen(curr_name->name)); j++)Any help would be apperciated.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST