fb: shut up two compiler warnings.
This commit is contained in:
parent
99d28c3ef3
commit
e73a03d589
|
@ -77,6 +77,8 @@ fbPolyArc (DrawablePtr pDrawable,
|
||||||
fbGetDrawable (pDrawable, dst, dstStride, dstBpp, dstXoff, dstYoff);
|
fbGetDrawable (pDrawable, dst, dstStride, dstBpp, dstXoff, dstYoff);
|
||||||
#ifdef FB_ACCESS_WRAPPER
|
#ifdef FB_ACCESS_WRAPPER
|
||||||
wrapped = 1;
|
wrapped = 1;
|
||||||
|
#else
|
||||||
|
wrapped = 0;
|
||||||
#endif
|
#endif
|
||||||
while (narcs--)
|
while (narcs--)
|
||||||
{
|
{
|
||||||
|
|
|
@ -292,7 +292,7 @@ create_bits_picture (PicturePtr pict,
|
||||||
|
|
||||||
fbGetDrawable (pict->pDrawable, bits, stride, bpp, xoff, yoff);
|
fbGetDrawable (pict->pDrawable, bits, stride, bpp, xoff, yoff);
|
||||||
|
|
||||||
bits = (CARD8*)bits + yoff * stride * sizeof(FbBits) + xoff * (bpp / 8);
|
bits = (FbBits*)((CARD8*)bits + yoff * stride * sizeof(FbBits) + xoff * (bpp / 8));
|
||||||
|
|
||||||
image = pixman_image_create_bits (
|
image = pixman_image_create_bits (
|
||||||
pict->format,
|
pict->format,
|
||||||
|
|
Loading…
Reference in New Issue