[gnome-photos] operation-insta-hefe-vignette: Use the correct typecast
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] operation-insta-hefe-vignette: Use the correct typecast
- Date: Thu, 23 Nov 2017 19:06:14 +0000 (UTC)
commit 67f9b9a18d7cc7a9c512079bf544549138fdeea3
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Nov 23 11:45:22 2017 +0100
operation-insta-hefe-vignette: Use the correct typecast
The height and width need to be cast to guint, because, unlike
GeglRectangle, gegl_rectangle_set uses unsigned integers for those
parameters.
Fallout from a2ae6b14f5dedcc7202d3e957e8b0a236d475c9d
src/photos-operation-insta-hefe-vignette.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-operation-insta-hefe-vignette.c b/src/photos-operation-insta-hefe-vignette.c
index 63baf8b..33f455b 100644
--- a/src/photos-operation-insta-hefe-vignette.c
+++ b/src/photos-operation-insta-hefe-vignette.c
@@ -93,7 +93,7 @@ photos_operation_insta_hefe_vignette_get_bounding_box (GeglOperation *operation)
PhotosOperationInstaHefeVignette *self = PHOTOS_OPERATION_INSTA_HEFE_VIGNETTE (operation);
GeglRectangle bbox;
- gegl_rectangle_set (&bbox, (gint) self->x, (gint) self->y, (gint) self->width, (gint) self->height);
+ gegl_rectangle_set (&bbox, (gint) self->x, (gint) self->y, (guint) self->width, (guint) self->height);
return bbox;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]