On Thu, Dec 19, 2002 at 08:52:40AM -0600, Tom Whiting wrote:
> You can't just replace int vnum in merc.h and call it a day, you have to
> replace each and every call TO said int vnum in each and every file (how
> many I'm not sure atm) with the proper call (ie: %d must be changed to
> %ld because you're no longer calling short integers).

You mean replace 'sh_int vnum' in merc.h?

As for '%ld', no, you don't have to do that.  The %l is for 'long' ints,
not regular ones.  (With most x86 compilers, 'long' is exactly the same
as 'int': 32 bits, but you need the %l to make the compiler not whine
about it... but that's another story, because you don't need to change
the vnum to be a long: an int will suffice unless you're on an
architecture that supports 64-bit longs and for some ungodly reason you
need vnums that hugs...)

The only other place I see it mattering is in db.c and db2.c



Reply via email to