[glib: 28/30] gresource: Fix a pointer mismatch with an atomic load




commit 7d417f8406b8fa32a25659120738d22be6a1b482
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Nov 16 17:17:21 2020 +0000

    gresource: Fix a pointer mismatch with an atomic load
    
    This squashes a warning when compiling with Clang.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gio/gresource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gresource.c b/gio/gresource.c
index 79a49d33d..b495d12ac 100644
--- a/gio/gresource.c
+++ b/gio/gresource.c
@@ -1398,7 +1398,7 @@ register_lazy_static_resources (void)
 void
 g_static_resource_init (GStaticResource *static_resource)
 {
-  gpointer next;
+  GStaticResource *next;
 
   do
     {


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