From 50409dd71b5ec3a0c318f5c69dd3e0f568129711 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Tue, 13 Apr 2010 09:02:42 +0200 Subject: [PATCH] nvfx: fix for 64-bit systems Thanks to Patrice Mandin for debugging this. --- src/gallium/drivers/nvfx/nvfx_vbo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nvfx/nvfx_vbo.c b/src/gallium/drivers/nvfx/nvfx_vbo.c index bb8a2b63f05..8b9b5d0203c 100644 --- a/src/gallium/drivers/nvfx/nvfx_vbo.c +++ b/src/gallium/drivers/nvfx/nvfx_vbo.c @@ -492,7 +492,7 @@ nvfx_vbo_validate(struct nvfx_context *nvfx) unsigned ib_format = nvfx->idxbuf_format; int i; int elements = MAX2(nvfx->vtxelt->num_elements, nvfx->hw_vtxelt_nr); - unsigned long vtxfmt[16]; + uint32_t vtxfmt[16]; unsigned vb_flags = nvfx->screen->vertex_buffer_flags | NOUVEAU_BO_RD; if (!elements) -- 2.30.2