Commit 3ca8a46c authored by Heiko Lewin's avatar Heiko Lewin
Browse files

Minor corrections

parent 518ba137
Pipeline #298885 passed with stages
in 16 minutes and 38 seconds
......@@ -36,5 +36,3 @@ stamp-h.in
*-uninstalled.pc
.vimrc
gtk-doc.m4
.kdev4/
cairo.kdev4
......@@ -111,7 +111,7 @@ static inline cairo_bool_t
_cairo_box_is_pixel_aligned (const cairo_box_t *box)
{
#if CAIRO_FIXED_FRAC_BITS <= 8 && 0
return ((uint32_t)(box->p1.x & CAIRO_FIXED_FRAC_MASK) << 24 |
return ((cairo_fixed_unsigned_t)(box->p1.x & CAIRO_FIXED_FRAC_MASK) << 24 |
(box->p1.y & CAIRO_FIXED_FRAC_MASK) << 16 |
(box->p2.x & CAIRO_FIXED_FRAC_MASK) << 8 |
(box->p2.y & CAIRO_FIXED_FRAC_MASK) << 0) == 0;
......
......@@ -891,7 +891,7 @@ composite_glyphs (void *_dst,
for (i = 0; i < info->num_glyphs; i++) {
unsigned long index = info->glyphs[i].index;
const void *glyph;
uint32_t xphase, yphase;
unsigned long xphase, yphase;
xphase = PHASE(info->glyphs[i].x);
yphase = PHASE(info->glyphs[i].y);
......
......@@ -1607,7 +1607,7 @@ composite_glyphs (void *surface,
op = _render_operator (op),
_cairo_xlib_surface_ensure_picture (dst);
for (i = 0; i < num_glyphs; i++) {
uint32_t xphase, yphase;
unsigned long xphase, yphase;
int this_x, this_y;
int old_width;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment