> line 81 warning: int format, long_int arg (arg 5) > sprintf(buf, "%-4d%-50s%-20d%s\r\n", ++number, > obj_proto[rnum].short_description, item.sell_price,item.seller_name); > > line 151: warning: passing arg 3 of 'get_obj_in_list_vis' from incompatible > pointer type > if(!(obj = get_obj_in_list_vis(customer, arg, customer->carrying))) > > line 151: too few arguments to function 'get_obj_in_list_vis' > if(!(obj = get_obj_in_list_vis(customer, arg, customer->carrying))) > > line 290: warning: int format, long int arg (arg 3) > sprintf(buf, "A man runs in and informs you that $N has bought $p for %d > coins.\r\n", item.sell_price); > > line 291: warning: int format, long int arg (arg 3) > sprintf(buf + strlen(buf), "He also says you received %d gold from the sale > which has been deposited in your bank account.", ((item.sell_price / 10) * > 9)); These are all basic C warnings...i'd suggest finding a C programming manual online and reading it. Sean -- +---------------------------------------------------------------+ | 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/05/01 PST