Ack, I hate repeating myself... ----- Original Message ----- From: "Eduardo Bertin" <damage@LINKWAY.COM.BR> Hie, Error: gcc -g -O2 -Wall -c genshp.c -o genshp.o genshp.c: In function `save_shops': genshp.c:476: warning: int format, long int arg (arg 11) My Archive GENSHP.C fprintf(shop_file, "%s~\n%s~\n%s~\n%s~\n%s~\n%s~\n%s~\n" - "%d\n%d\n%d\n%d\n", + "%d\n%ld\n%d\n%d\n", S_NOITEM1(shop) ? S_NOITEM1(shop) : "%s Ke?!", S_NOITEM2(shop) ? S_NOITEM2(shop) : "%s Ke?!", S_NOBUY(shop) ? S_NOBUY(shop) : "%s Ke?!", S_NOCASH1(shop) ? S_NOCASH1(shop) : "%s Ke?!", S_NOCASH2(shop) ? S_NOCASH2(shop) : "%s Ke?!", S_BUY(shop) ? S_BUY(shop) : "%s Ke?! %d?", S_SELL(shop) ? S_SELL(shop) : "%s Ke?! %d?", S_BROKE_TEMPER(shop), S_BITVECTOR(shop), <<<<< This is arg 11 mob_index[S_KEEPER(shop)].vnum, S_NOTRADE(shop) ); Welcor -- +---------------------------------------------------------------+ | 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