diff --git a/fb/fbbits.h b/fb/fbbits.h index c7bd2c88dd..91768ac1b8 100644 --- a/fb/fbbits.h +++ b/fb/fbbits.h @@ -716,7 +716,7 @@ POLYLINE(DrawablePtr pDrawable, } e = -len; e1 <<= 1; - e3 = e << 1; + e3 = e * 2; FIXUP_ERROR(e, octant, bias); if (and == 0) { while (len--) { @@ -875,7 +875,7 @@ POLYSEGMENT(DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment * pseg) } e = -len; e1 <<= 1; - e3 = e << 1; + e3 = e * 2; FIXUP_ERROR(e, octant, bias); if (!capNotLast) len++;