aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-05-08 18:27:25 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-05-08 18:27:25 +0800
commit2a8bbdf39786212f2c14eecb2c0af774f1a79ab7 (patch)
tree504c26d17672f8d803582e311cd63bdd43ea6355
parentf095fe407876ed56996684d9dff2405fe0e52190 (diff)
downloadgsoc2013-epiphany-2a8bbdf39786212f2c14eecb2c0af774f1a79ab7.tar
gsoc2013-epiphany-2a8bbdf39786212f2c14eecb2c0af774f1a79ab7.tar.gz
gsoc2013-epiphany-2a8bbdf39786212f2c14eecb2c0af774f1a79ab7.tar.bz2
gsoc2013-epiphany-2a8bbdf39786212f2c14eecb2c0af774f1a79ab7.tar.lz
gsoc2013-epiphany-2a8bbdf39786212f2c14eecb2c0af774f1a79ab7.tar.xz
gsoc2013-epiphany-2a8bbdf39786212f2c14eecb2c0af774f1a79ab7.tar.zst
gsoc2013-epiphany-2a8bbdf39786212f2c14eecb2c0af774f1a79ab7.zip
ephy-history: remove spurious castings
-rw-r--r--lib/history/ephy-history-service-hosts-table.c2
-rw-r--r--lib/history/ephy-history-service-urls-table.c2
-rw-r--r--lib/history/ephy-history-service-visits-table.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/history/ephy-history-service-hosts-table.c b/lib/history/ephy-history-service-hosts-table.c
index eb64e4651..fab72947d 100644
--- a/lib/history/ephy-history-service-hosts-table.c
+++ b/lib/history/ephy-history-service-hosts-table.c
@@ -318,7 +318,7 @@ ephy_history_service_find_host_rows (EphyHistoryService *self, EphyHistoryQuery
}
for (substring = query->substring_list; substring != NULL; substring = substring->next) {
int j = 4;
- char *string = ephy_sqlite_create_match_pattern ((char*)substring->data);
+ char *string = ephy_sqlite_create_match_pattern (substring->data);
while (j--)
if (ephy_sqlite_statement_bind_string (statement, i++, string, &error) == FALSE) {
g_error ("Could not build hosts table query statement: %s", error->message);
diff --git a/lib/history/ephy-history-service-urls-table.c b/lib/history/ephy-history-service-urls-table.c
index 1e0a9c136..e5fd21188 100644
--- a/lib/history/ephy-history-service-urls-table.c
+++ b/lib/history/ephy-history-service-urls-table.c
@@ -311,7 +311,7 @@ ephy_history_service_find_url_rows (EphyHistoryService *self, EphyHistoryQuery *
}
}
for (substring = query->substring_list; substring != NULL; substring = substring->next) {
- char *string = ephy_sqlite_create_match_pattern ((char*)substring->data);
+ char *string = ephy_sqlite_create_match_pattern (substring->data);
if (ephy_sqlite_statement_bind_string (statement, i++, string, &error) == FALSE) {
g_error ("Could not build urls table query statement: %s", error->message);
g_error_free (error);
diff --git a/lib/history/ephy-history-service-visits-table.c b/lib/history/ephy-history-service-visits-table.c
index d4801754b..b09c664c1 100644
--- a/lib/history/ephy-history-service-visits-table.c
+++ b/lib/history/ephy-history-service-visits-table.c
@@ -182,7 +182,7 @@ ephy_history_service_find_visit_rows (EphyHistoryService *self, EphyHistoryQuery
}
}
for (substring = query->substring_list; substring != NULL; substring = substring->next) {
- char *string = ephy_sqlite_create_match_pattern ((char*)substring->data);
+ char *string = ephy_sqlite_create_match_pattern (substring->data);
if (ephy_sqlite_statement_bind_string (statement, i++, string, &error) == FALSE) {
g_error ("Could not build urls table query statement: %s", error->message);
g_error_free (error);