[gnome-builder] frame: keep operations strictly signed
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] frame: keep operations strictly signed
- Date: Thu, 27 Jan 2022 21:49:41 +0000 (UTC)
commit 6896244c58667e92867f34c9fe45bbb6351eeca0
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 27 13:49:37 2022 -0800
frame: keep operations strictly signed
src/libide/gui/ide-frame.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-frame.c b/src/libide/gui/ide-frame.c
index 1f96d28c4..793269914 100644
--- a/src/libide/gui/ide-frame.c
+++ b/src/libide/gui/ide-frame.c
@@ -292,7 +292,7 @@ ide_frame_change_current_page (IdeFrame *self,
if (ar->len == 0)
g_return_if_reached ();
- position = (position + ar->len - direction) % ar->len;
+ position = (position + (int)ar->len - direction) % (int)ar->len;
visible_child = g_ptr_array_index (ar, position);
gtk_stack_set_visible_child (priv->stack, visible_child);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]