[PATCH] Fix build and silence warnings
Matt Turner
mattst88 at gmail.com
Sat Aug 8 19:00:27 PDT 2009
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
More information about the xorg-driver-ati
mailing list