NEWBIE: warning C4133 C4013 when compiling

cwilson2@bigpond.net.au
Date: 12/03/02


Hi Guys,

I have just started coding with circle mud. I am getting a few warnings
when I compile my code, Can someone check out these warnings and help
me remove them?

First 1. After adding a snippet for bragging,

act.comm.c
c:\circlemud\srcwin\act.comm.c(585) : warning C4133: 'function' :
incompatible types - from 'char *' to 'struct char_data *'
c:\circlemud\circlemud\srcwin\act.comm.c(585) : warning
C4133: 'function' : incompatible types - from 'struct char_data *'
to 'const char *'
c:\circlemud\circlemud\srcwin\act.comm.c(587) : warning
C4133: 'function' : incompatible types - from 'char *' to 'struct
char_data *'
c:\circlemud\circlemud\srcwin\act.comm.c(587) : warning
C4133: 'function' : incompatible types - from 'struct char_data *'
to 'const char *'

Lines in Code are;
send_to_char(CCRED(i->character, C_SPR), i->character);
act(brag, FALSE, ch, 0, i->character, TO_VICT | TO_SLEEP);
send_to_char(CCNRM(i->character, C_SPR), i->character);

The other one is,
c:\circlemud\srcwin\handler.c(67) : warning C4013: 'is_apart'
undefined; assuming extern returning int

Line in Code is;
if(curtok && is_apart(str, curtok)){

Cheers
Craig.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT