summaryrefslogtreecommitdiff
path: root/src/drm/cairo-drm-i965-shader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drm/cairo-drm-i965-shader.c')
-rw-r--r--src/drm/cairo-drm-i965-shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drm/cairo-drm-i965-shader.c b/src/drm/cairo-drm-i965-shader.c
index eed5f5f09..8fa3b4bd2 100644
--- a/src/drm/cairo-drm-i965-shader.c
+++ b/src/drm/cairo-drm-i965-shader.c
@@ -1370,7 +1370,7 @@ i965_wm_kernel_hash (const i965_shader_t *shader)
(shader->mask.type.fragment & 0xff) << 8 |
(shader->clip.type.fragment & 0xff) << 16;
if (shader->need_combine)
- hash |= (1 + shader->op) << 24;
+ hash |= (1u + shader->op) << 24;
return hash;
}