summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--binding/media-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/media-manager.c b/binding/media-manager.c
index 027072c..9761924 100644
--- a/binding/media-manager.c
+++ b/binding/media-manager.c
@@ -120,7 +120,7 @@ GList* media_lightmediascanner_scan(GList *list, gchar *uri, int scan_type)
return NULL;
}
- ret = sqlite3_prepare_v2(conn, query, strlen(query), &res, &tail);
+ ret = sqlite3_prepare_v2(conn, query, (int) strlen(query), &res, &tail);
if (ret) {
LOGE("Cannot execute query '%s'\n", query);
g_free(query);