[gtk/macos-ci] gtk: fix brace initialization for bloom filter



commit 14d0d1c329a49f3f9be9f4987e76eb661dcec9b7
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jan 5 16:01:11 2021 -0800

    gtk: fix brace initialization for bloom filter
    
    This was breaking CI for macOS and it is a simple enough change to ensure
    that just works for the internal buckets.

 gtk/gtkcountingbloomfilterprivate.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkcountingbloomfilterprivate.h b/gtk/gtkcountingbloomfilterprivate.h
index 9151901d75..78a3f54880 100644
--- a/gtk/gtkcountingbloomfilterprivate.h
+++ b/gtk/gtkcountingbloomfilterprivate.h
@@ -79,7 +79,7 @@ static inline gboolean  gtk_counting_bloom_filter_may_contain   (const GtkCounti
  *
  * The filter does not need to be freed.
  */
-#define GTK_COUNTING_BLOOM_FILTER_INIT { 0, }
+#define GTK_COUNTING_BLOOM_FILTER_INIT {{0}}
 
 /*
  * gtk_counting_bloom_filter_add:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]