[PATCH] Fix build and silence warnings

Pauli Nieminen suokkos at gmail.com
Sun Aug 9 02:06:27 PDT 2009


You want to rename DRI2BufferPtr to DRI2Buffer2Ptr.

On Sun, Aug 9, 2009 at 5:00 AM, Matt Turner <mattst88 at gmail.com> wrote:

> Signed-off-by: Matt Turner <mattst88 at gmail.com>
> ---
>  src/radeon_dri2.c |    1 -
>  src/radeon_kms.c  |    2 +-
>  2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
> index 9c86244..805338b 100644
> --- a/src/radeon_dri2.c
> +++ b/src/radeon_dri2.c
> @@ -170,7 +170,6 @@ radeon_dri2_create_buffer(DrawablePtr drawable,
>     buffers->pitch = pixmap->devKind;
>     buffers->cpp = pixmap->drawable.bitsPerPixel / 8;
>     buffers->driverPrivate = privates;
> -    buffers->format = format;
>     buffers->flags = 0; /* not tiled */
>     privates->pixmap = pixmap;
>     privates->attachment = attachment;
> diff --git a/src/radeon_kms.c b/src/radeon_kms.c
> index d93a40b..e28140e 100644
> --- a/src/radeon_kms.c
> +++ b/src/radeon_kms.c
> @@ -412,7 +412,7 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
>            info->vram_size = mminfo.vram_visible;
>            info->gart_size = mminfo.gart_size;
>            xf86DrvMsg(pScrn->scrnIndex, X_INFO,
> -                      "mem size init: gart size :%llx vram size: s:%llx
> visible:%llx\n",
> +                      "mem size init: gart size :%lx vram size: s:%lx
> visible:%lx\n",
>                       mminfo.gart_size, mminfo.vram_size,
> mminfo.vram_visible);
>        }
>     }
> --
> 1.6.0.6
>
> _______________________________________________
> xorg-driver-ati mailing list
> xorg-driver-ati at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-driver-ati/attachments/20090809/1a8470af/attachment.html 


More information about the xorg-driver-ati mailing list