Heres the rest of the code, thanks for the advice on ultraedit Welcor. Here's the warnings i get: db.c: In function 'store_to_char': db.c:2406: warning: left-hand operand of comma expression has no effect db.c: In function 'char_to_store': db.c:2522: warning: int format, time_t arg (arg 3) db.c:2524: warning: int format, time_t arg (arg 3) db.c:2530: warning: int format, long int arg (arg 3) db.c:2531: warning: int format, long int arg (arg 3) mail.c: In function 'mail_recip_ok': mail.c:64: warning: passing arg 2 of 'load_char' from incompatible pointer type mail.c:65: warning: passing arg 1 of 'store_to_char' from incompatible pointer type Both of the arg's in the mail.c warnings refer to &tmp_store Here is the rest of the code context: <---Snippet---> void store_to_char(char *name, struct char_data * ch) { ... /* set real_abils = aff_abils */ ch->real_abils = ch->aff_abils; 2406: for (i = 0; i < MAX_AFFECT, tmp_aff[i].type!=0; i++) { if (tmp_aff[i].type) affect_to_char(ch, &tmp_aff[i]); ... void char_to_store(struct char_data * ch) { ... 2522: fprintf(fl, "Brth: %d\n", ch->player.time.birth); fprintf(fl, "Plyd: %d\n", ch->player.time.played); 2524: fprintf(fl, "Last: %d\n", ch->player.time.logon); if(ch->desc->host) fprintf(fl, "Host: %s\n", ch->desc->host); fprintf(fl, "Hite: %d\n", GET_HEIGHT(ch)); fprintf(fl, "Wate: %d\n", GET_WEIGHT(ch)); fprintf(fl, "Alin: %d\n", GET_ALIGNMENT(ch)); 2530: fprintf(fl, "Id : %d\n", GET_IDNUM(ch)); 2531: fprintf(fl, "Act : %d\n", PLR_FLAGS(ch)); <---Snippet---> I think the mail.c problems will fix themselves if i fix this problem becouse I didn't edit mail.c at all with this patch. Thanks for any help Brian(Tenethor) -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST