[ostree] triggers: Fix comparison function
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] triggers: Fix comparison function
- Date: Mon, 20 Feb 2012 02:11:41 +0000 (UTC)
commit 21f1ca364fe3540d7e6958aedb180944bfb353ea
Author: Colin Walters <walters verbum org>
Date: Sun Feb 19 21:10:59 2012 -0500
triggers: Fix comparison function
src/triggers/ostree-run-triggers.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/triggers/ostree-run-triggers.c b/src/triggers/ostree-run-triggers.c
index 7145cb6..e533915 100644
--- a/src/triggers/ostree-run-triggers.c
+++ b/src/triggers/ostree-run-triggers.c
@@ -132,8 +132,8 @@ static int
compare_files_by_basename (gconstpointer ap,
gconstpointer bp)
{
- GFile *a = (GFile*)ap;
- GFile *b = (GFile*)ap;
+ GFile *a = *(GFile**)ap;
+ GFile *b = *(GFile**)ap;
char *name_a, *name_b;
int c;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]