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:32:50 +0800
commit6800fb02791cf40681e91a5824e6fde586e5604f (patch)
tree940d30930a8d0024bcb85c10d3963f14d6663c19
parent936e759536705b22218afaceff4d81d348021402 (diff)
downloadgsoc2013-epiphany-6800fb02791cf40681e91a5824e6fde586e5604f.tar.gz
gsoc2013-epiphany-6800fb02791cf40681e91a5824e6fde586e5604f.tar.zst
gsoc2013-epiphany-6800fb02791cf40681e91a5824e6fde586e5604f.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);