[gtk/wip/baedert/for-master: 2/2] 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: 2/2] cssparser: Make a signed expression unsigned
- Date: Sat, 16 Oct 2021 06:52:09 +0000 (UTC)
commit b610e3b8babdad252ab8d07e758d4daf895559d3
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.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/css/gtkcssparser.cpp b/gtk/css/gtkcssparser.cpp
index 927897abdb..595f649625 100644
--- a/gtk/css/gtkcssparser.cpp
+++ b/gtk/css/gtkcssparser.cpp
@@ -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]