Re: sh_int question

From: Christopher Avans (parka@CDC.NET)
Date: 06/07/98


On Sun, 7 Jun 1998, Chuck Reed wrote:

> >hrm ok if I wanted to make something bigger and it was sh_int whould I
> >change it to sh_long in structs.h, and then change its %d to %ld?
> >Thanks in advance.
>
We try to be sarcastic below, buts I will try not to.
No sh_int to int is not a improvement if he wants long.

> You could just change it to int and leave all the %d's or make it simply
> long then change all the %d's to ld's
>
sh_long is not a normal context, but you could typedef it as that.
though you may loose portability to some OS's

> sh_long does that make any sense?  hmm


>

> Chuck
> ---------------------------------------
> Chuck Reed      | Ash of Dark Horizon |
> master@i-55.com | dh.gator.net 6001   |
> ---------------------------------------
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST