[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-01-30, AJ <aj@xxxxxxxxxx> wrote:
> allefant wrote:
> > On Jan 29, 2008 1:56 PM, AJ <aj@xxxxxxxxxx> wrote:
> >
> >> Has this situation been covered in future allegro designs?
> >> Is there a solution for this?
> >>
> >> If no solution is currently tabled, would it be appropriate to add
> >> ASSERT(sizeof(..)) anywhere potential for problems exists?
> >>
> >>
> >
> > Personally, I prefer this solution:
> >
> > Never ever use long. Use int when it's ok to have only 32-bit. Use
> > int32_t and int64_t where it matters.
> >
>
>
> Agreed. Can we start looking at solutions for all instances of long ?
Send patches.
Peter