summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0/0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch b/meta/recipes-core/glib-2.0/glib-2.0/0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
new file mode 100644
index 0000000000..e03fac19f4
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0/0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
@@ -0,0 +1,29 @@
1From 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