diff options
Diffstat (limited to 'librsvg')
-rw-r--r-- | librsvg/test-ft-gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librsvg/test-ft-gtk.c b/librsvg/test-ft-gtk.c index da49d2af2..8f2a53d7a 100644 --- a/librsvg/test-ft-gtk.c +++ b/librsvg/test-ft-gtk.c @@ -83,7 +83,7 @@ static void invert_glyph (guchar *buf, int rowstride, int width, int height) guint32 *middle; if (width >= 8 && ((rowstride & 3) == 0)) { - first = (-(int)buf) & 3; + first = (-(long)buf) & 3; n_words = (width - first) >> 2; last = first + (n_words << 2); |