Mesa (master): noop: change var type to silence warning

Brian Paul brianp at kemper.freedesktop.org
Thu Jan 13 00:59:25 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 12 14:39:24 2011 -0700

noop: change var type to silence warning

---

 src/gallium/drivers/noop/noop_pipe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/noop/noop_pipe.c b/src/gallium/drivers/noop/noop_pipe.c
index 8c9efc2..3680f46 100644
--- a/src/gallium/drivers/noop/noop_pipe.c
+++ b/src/gallium/drivers/noop/noop_pipe.c
@@ -124,7 +124,7 @@ static struct pipe_resource *noop_resource_from_handle(struct pipe_screen *scree
 	struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen;
 	struct pipe_screen *oscreen = noop_screen->oscreen;
 	struct pipe_resource *result;
-	struct noop_resource *noop_resource;
+	struct pipe_resource *noop_resource;
 
 	result = oscreen->resource_from_handle(oscreen, templ, handle);
 	noop_resource = noop_resource_create(screen, result);




More information about the mesa-commit mailing list