[Code] A Few More Warnings

From: Aaron Miller (archmage@CRYOGEN.COM)
Date: 12/05/97


Cheers to George for helping me with those earlier warnings. After about an hour of strategicaly placing #ifdefs, all those warnings are gone. I only have a few left, now <g>

modify.c:150:comparison between signed and unsigned

150 reads:

else if ((total_len = ((strlen(t) - strlen(s)) + strlen(*d->str))) <=
 d->max_str)

plus a couple other unfortunate lines in other files.

and in olc.c, an abundance of these: (nowhere else)

olc.c:47: warning: type defaults to `int' in declaration of `real_shop'

 extern real_shop(int vnum);

Now, it seems to me that it is missing the type in this and many other declarations. Anyone have a patch for this, or something?

Any help is appreciated. Thanks alot.


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



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