From c5867acb0d32124999f236c600480100dd7377fc Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 13 Sep 2010 23:23:34 -0700 Subject: [PATCH] identity: Fix 'assignment from incompatible pointer type' warning. This is a follow-up to commit a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d. Fixes the following GCC warning. id_screen.c: In function 'identity_screen_create': id_screen.c:317: warning: assignment from incompatible pointer type --- src/gallium/drivers/identity/id_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/identity/id_screen.c b/src/gallium/drivers/identity/id_screen.c index c46d7457fcd..5fb464b4148 100644 --- a/src/gallium/drivers/identity/id_screen.c +++ b/src/gallium/drivers/identity/id_screen.c @@ -67,7 +67,7 @@ identity_screen_get_vendor(struct pipe_screen *_screen) static int identity_screen_get_param(struct pipe_screen *_screen, - unsigned shader, enum pipe_cap param) + enum pipe_cap param) { struct identity_screen *id_screen = identity_screen(_screen); struct pipe_screen *screen = id_screen->screen; -- 2.30.2