Re: [AD] count field of TIMER_EVENT

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2011-03-09, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> On Wed, 2011-03-09 at 10:08 -0700, Jon Rafkind wrote:
> > Should the count field of TIMER_EVENT be uint64_t instead of int64_t?
> > And a bunch of related functions should change as well.
> > 
> 
> I'd like to not use unsigned types whenever possible - really annoying
> when you need to convert to signed somewhere :P

The count value may be negative.  Currently it only ever
increments by +1, but there's no fundamental reason for that.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/