[gtk/wip/baedert/for-master: 4/6] cssparser: Make a signed expression unsigned
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 4/6] cssparser: Make a signed expression unsigned
- Date: Sat, 16 Oct 2021 15:41:15 +0000 (UTC)
commit d3d7b824afef96729b0fbb8953b7eb3fc9f98c36
Author: Timm Bäder <mail baedert org>
Date: Sat Oct 16 08:51:32 2021 +0200
cssparser: Make a signed expression unsigned
gtk/css/gtkcssparser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/css/gtkcssparser.c b/gtk/css/gtkcssparser.c
index aa2e171aa1..3026fb1c78 100644
--- a/gtk/css/gtkcssparser.c
+++ b/gtk/css/gtkcssparser.c
@@ -1083,7 +1083,7 @@ gtk_css_parser_consume_any (GtkCssParser *parser,
g_return_val_if_fail (n_options < sizeof (gsize) * 8 - 1, 0);
result = 0;
- while (result != (1 << n_options) - 1)
+ while (result != (1u << n_options) - 1u)
{
for (i = 0; i < n_options; i++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]