On Thu, Mar 15, 2012 at 08:12:20AM -0700, Jamey Sharp wrote:
> A small detail:
> 
> On 3/14/12, Peter Hutterer <peter.hutte...@who-t.net> wrote:
> >  static void
> >  IdleTimeWakeupHandler (pointer pCounter, int rc, pointer LastSelectMask)
> >  {
> > -    SyncCounter *counter = IdleTimeCounter;
> > +    SyncCounter *counter = pCounter;
> >...
> > @@ -2814,7 +2817,7 @@ IdleTimeWakeupHandler (pointer pCounter, int rc,
> > pointer LastSelectMask)
> >      if ((greater && XSyncValueGreaterOrEqual (idle, *greater)) ||
> >          (less && XSyncValueLessOrEqual (idle, *less)))
> >      {
> > -   SyncChangeCounter (counter, idle);
> > +   SyncChangeCounter ((SyncCounter*)pCounter, idle);
> >      }
> >  }
> 
> You have a properly-typed "counter" in scope now, so you can drop this hunk.

fixed, thanks.
 
Cheers,
  Peter
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to