Mesa (master): identity: Fix 'assignment from incompatible pointer type' warning.

Vinson Lee vlee at kemper.freedesktop.org
Tue Sep 14 06:25:30 UTC 2010


Module: Mesa
Branch: master
Commit: c5867acb0d32124999f236c600480100dd7377fc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5867acb0d32124999f236c600480100dd7377fc

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Sep 13 23:23:34 2010 -0700

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 files changed, 1 insertions(+), 1 deletions(-)

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;




More information about the mesa-commit mailing list