Re: Question on arg format after bitvector_t change in genshp.c

From: George Greer (
Date: 07/11/02

On Thu, 11 Jul 2002, Mathew Earle Reuther wrote:

>I'm getting this compile warning:
>genshp.c: In function `save_shops':
>genshp.c:484: warning: long int format, different type arg (arg 11)
>Now, near as I can tell, there is an issue with how the S_NOTRADE(shop)
>will be written out.  It does seem this is in fact the case.

When you change bitvector_t to 'long long', you have to fix the *printf
formats from their original 'long' (%ld) formats.  The bitvectors shouldn't
be using the signed integer format (%d) anyway, but it doesn't matter

George Greer

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT