virgl: unsigned int -> unsigned
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 10 Apr 2019 10:16:33 +0000 (12:16 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 11 Apr 2019 07:53:10 +0000 (09:53 +0200)
We don't usually spell out the int part of unsigned.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_texture.c

index 45315b7bb2494d2b38316b8b0ee5a0f29de5de79..755b7686dd13697dd8d3495a0fbe71c7a9d1c1c7 100644 (file)
@@ -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))