In a message dated 3/26/1999 5:56:01 PM Central Standard Time, xual@danathara.dhs.org writes: > > I get this error when i compile > > act.wizard.c: In function `do_stat_character': > > act.wizard.c:780: warning: passing arg 2 of `sprintbit' from incompatible > > pointer type > > Post some code... maybe lines 775-785 of act.wizard.c > Hehe im an idiot sorry. here is the code sprintbit(PRF_FLAGS(k), preference_bits, buf2); sprintf(buf, "PRF: %s%s%s\r\n", CCGRN(ch, C_NRM), buf2, CCNRM(ch, C_NRM)); send_to_char(buf, ch); if ((GET_LEVEL(k) >= LVL_IMMORT) && (GET_LEVEL(k) < LVL_IMPL)) { sprintbit(CMD_FLAGS(k), cmd_bits, buf2); sprintf(buf, "CMD: %s%s%s\r\n", CCYEL(ch, C_NRM), buf2, CCNRM(ch, C_NRM)); send_to_char(buf, ch); } } +------------------------------------------------------------+ | 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