On Thu, 2010-03-04 at 18:21 +0100, ext Jesse Barnes wrote:
> We need to track invalid targets as well as 0 targets, so just make it
> unsigned 
Minor nit: commit message should say "signed" not "unsigned"
> so our comparisons work like they should.
> 
> Reported-by: Kristian Høgsberg <[email protected]>
> Signed-off-by: Jesse Barnes <[email protected]>
> 
> diff --git a/hw/xfree86/dri2/dri2.c b/hw/xfree86/dri2/dri2.c
> index 301f4fd..90cca9b 100644
> --- a/hw/xfree86/dri2/dri2.c
> +++ b/hw/xfree86/dri2/dri2.c
> @@ -62,7 +62,7 @@ typedef struct _DRI2Drawable {
>      ClientPtr                 blockedClient;
>      int                       swap_interval;
>      CARD64            swap_count;
> -    CARD64            target_sbc; /* -1 means no SBC wait outstanding */
> +    long              target_sbc; /* -1 means no SBC wait outstanding */
>      CARD64            last_swap_target; /* most recently queued swap target 
> */
>      int                       swap_limit; /* for N-buffering */
>  } DRI2DrawableRec, *DRI2DrawablePtr;
> _______________________________________________
> xorg-devel mailing list
> [email protected]
> http://lists.x.org/mailman/listinfo/xorg-devel


_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to