[gom] tests: Fix some build warnings
- From: Mathieu Bridon <mbridon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gom] tests: Fix some build warnings
- Date: Mon, 8 Dec 2014 18:32:16 +0000 (UTC)
commit 3e70d7bf69ab579c27bfa6c8522a6e53ab11b33e
Author: Mathieu Bridon <bochecha daitauha fr>
Date: Thu Nov 27 19:53:17 2014 +0100
tests: Fix some build warnings
This removes warnings like:
./tests/test-gom-find-specific.c:67:3: warning: initialization discards ‘const’ qualifier from
pointer target type
https://bugzilla.gnome.org/show_bug.cgi?id=741261
tests/test-gom-find-specific.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/test-gom-find-specific.c b/tests/test-gom-find-specific.c
index 6bf006e..439d560 100644
--- a/tests/test-gom-find-specific.c
+++ b/tests/test-gom-find-specific.c
@@ -58,11 +58,11 @@ enum {
static GParamSpec *specs[LAST_PROP];
static struct {
- gchar *series_id;
- gchar *imdb_id;
- guint8 season_number;
- guint8 episode_number;
- gchar *episode_name;
+ const gchar *series_id;
+ const gchar *imdb_id;
+ guint8 season_number;
+ guint8 episode_number;
+ const gchar *episode_name;
} values[] = {
{ "84947", "tt2483070", 4, 1, "New York Sour" },
{ "84947", "tt2778300", 4, 2, "Resignation" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]