X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fsoftpipe%2Fsp_quad_stipple.c;h=4b29c2eb221b926729889727917351eb050f7eac;hb=0ac5acaeaaa651d850d77ebab094fa851a7ee06d;hp=a0527a596a64114398641d6c14f6999e7a6f285e;hpb=ecf3091cc78638919f1977ccc0307c51b6731385;p=mesa.git diff --git a/src/gallium/drivers/softpipe/sp_quad_stipple.c b/src/gallium/drivers/softpipe/sp_quad_stipple.c index a0527a596a6..4b29c2eb221 100644 --- a/src/gallium/drivers/softpipe/sp_quad_stipple.c +++ b/src/gallium/drivers/softpipe/sp_quad_stipple.c @@ -16,8 +16,8 @@ static void stipple_quad(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) { - static const uint bit31 = 1 << 31; - static const uint bit30 = 1 << 30; + static const uint bit31 = 1u << 31; + static const uint bit30 = 1u << 30; unsigned pass = nr; struct softpipe_context *softpipe = qs->softpipe;