[gtk/wip/baedert/for-master: 4/7] 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/7] cssparser: Make a signed expression unsigned
- Date: Sun, 17 Oct 2021 09:22:10 +0000 (UTC)
commit beda50f6316fc14bb2687b3e7f0fac61d8db32a4
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]