Mesa (master): virgl: unsigned int -> unsigned

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 11 08:09:13 UTC 2019


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

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Apr 10 12:16:33 2019 +0200

virgl: unsigned int -> unsigned

We don't usually spell out the int part of unsigned.

Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh at chromium.org>

---

 src/gallium/drivers/virgl/virgl_texture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/virgl/virgl_texture.c b/src/gallium/drivers/virgl/virgl_texture.c
index 45315b7bb24..755b7686dd1 100644
--- a/src/gallium/drivers/virgl/virgl_texture.c
+++ b/src/gallium/drivers/virgl/virgl_texture.c
@@ -61,7 +61,7 @@ static void virgl_copy_region_with_blit(struct pipe_context *pipe,
    }
 }
 
-static unsigned int temp_bind(unsigned int orig)
+static unsigned temp_bind(unsigned orig)
 {
    if (orig & ~(PIPE_BIND_RENDER_TARGET | PIPE_BIND_DEPTH_STENCIL |
                 PIPE_BIND_SAMPLER_VIEW))




More information about the mesa-commit mailing list