diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-transform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eom-transform.c b/src/eom-transform.c index e1dd683..19a6c2d 100644 --- a/src/eom-transform.c +++ b/src/eom-transform.c @@ -132,8 +132,8 @@ eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job) } /* create the resulting pixbuf */ - dest_width = abs (dest_bottom_right.x - dest_top_left.x + 1); - dest_height = abs (dest_bottom_right.y - dest_top_left.y + 1); + dest_width = abs ((int) (dest_bottom_right.x - dest_top_left.x + 1)); + dest_height = abs ((int) (dest_bottom_right.y - dest_top_left.y + 1)); dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, gdk_pixbuf_get_has_alpha (pixbuf), |