zeitgeist logging framework.

This commit is contained in:
4fury-c3440d8
2021-10-13 19:14:55 +03:00
parent 4c01549aa2
commit ed7356e4c3
3 changed files with 125 additions and 0 deletions
@@ -0,0 +1,25 @@
From 64ac3a6f94cd299e5e14945dc31b48f009dec152 Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Wed, 30 Dec 2020 16:50:32 +0100
Subject: [PATCH] Use GenericArray API only
---
libzeitgeist/where-clause.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libzeitgeist/where-clause.vala b/libzeitgeist/where-clause.vala
index 204e9b1a..c3e6fa62 100644
--- a/libzeitgeist/where-clause.vala
+++ b/libzeitgeist/where-clause.vala
@@ -216,7 +216,7 @@ namespace Zeitgeist
#else
long[] pointers = new long[gptrarr.length + 1];
#endif
- Memory.copy(pointers, ((PtrArray *) gptrarr)->pdata,
+ Memory.copy(pointers, (void*) gptrarr.data,
gptrarr.length * sizeof (void *));
return (T[]) pointers;
}
--
GitLab