From: Vinson Lee Date: Tue, 14 Sep 2010 06:23:34 +0000 (-0700) Subject: identity: Fix 'assignment from incompatible pointer type' warning. X-Git-Tag: 062012170305~9582 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5867acb0d32124999f236c600480100dd7377fc;p=profile%2Fivi%2Fmesa.git 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 --- diff --git a/src/gallium/drivers/identity/id_screen.c b/src/gallium/drivers/identity/id_screen.c index c46d745..5fb464b 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;