From: Vinson Lee Date: Tue, 14 Sep 2010 06:02:37 +0000 (-0700) Subject: rbug: Fix 'assignment from incompatible pointer type' warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f2f02b7d6b0e687cc5d775d00662c309cc20da7;p=mesa.git rbug: Fix 'assignment from incompatible pointer type' warning. This is a follow-up to commit a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d. Fixes the following GCC warning. rbug_screen.c: In function 'rbug_screen_create': rbug_screen.c:331: warning: assignment from incompatible pointer type --- diff --git a/src/gallium/drivers/rbug/rbug_screen.c b/src/gallium/drivers/rbug/rbug_screen.c index 42555ab3310..961df482c29 100644 --- a/src/gallium/drivers/rbug/rbug_screen.c +++ b/src/gallium/drivers/rbug/rbug_screen.c @@ -81,7 +81,7 @@ rbug_screen_get_param(struct pipe_screen *_screen, static int rbug_screen_get_shader_param(struct pipe_screen *_screen, - unsigned shader, enum pipe_cap param) + unsigned shader, enum pipe_shader_cap param) { struct rbug_screen *rb_screen = rbug_screen(_screen); struct pipe_screen *screen = rb_screen->screen;