Re: genshop.c error

From: Micken ! (micken69@hotmail.com)
Date: 11/21/01


>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)
>

this means, that in one of your printf's, like sprintf or fprintf, you have
%ld as one of the arguments, but you're putting a normal int into that spot,
meaning you have to either change it to %d or change the variable to a long
integer.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

--
   +---------------------------------------------------------------+
   | 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