blob: e03fac19f48a1b57b5a4cf2ef763ad7a09f38424 [file] [log] [blame]
Andrew Geissler95ac1b82021-03-31 14:34:31 -05001From 7d417f8406b8fa32a25659120738d22be6a1b482 Mon Sep 17 00:00:00 2001
2From: Philip Withnall <pwithnall@endlessos.org>
3Date: Mon, 16 Nov 2020 17:17:21 +0000
4Subject: [PATCH 28/29] gresource: Fix a pointer mismatch with an atomic load
5
6This squashes a warning when compiling with Clang.
7
8Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719]
9Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
10---
11 gio/gresource.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/gio/gresource.c b/gio/gresource.c
15index 79a49d33d..b495d12ac 100644
16--- a/gio/gresource.c
17+++ b/gio/gresource.c
18@@ -1398,7 +1398,7 @@ register_lazy_static_resources (void)
19 void
20 g_static_resource_init (GStaticResource *static_resource)
21 {
22- gpointer next;
23+ GStaticResource *next;
24
25 do
26 {
27--
282.30.1
29