Commit fd78f5e3 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

tracker3: Fix int conversion warning

grilo-plugins/src/tracker3/grl-tracker-utils.c: In function ‘grl_tracker_build_resource_from_media’:
grilo-plugins/src/tracker3/grl-tracker-utils.c:651:76: warning: passing argument 2 of ‘grl_data_get_string’ makes integer from pointer without a cast [-Wint-conversion]
  651 |  grl_data_get_string (GRL_DATA (media), l->data));
      |                                         ~^~~~~~
      |                                          |
      |                                          gpointer {aka void *}
parent 367198ed
Pipeline #209604 passed with stage
in 21 minutes and 45 seconds
......@@ -642,7 +642,7 @@ grl_tracker_build_resource_from_media (GrlMedia *media, GList *keys)
hash = ensure_resource_for_property (resource, "nfo:hasHash", FALSE);
tracker_resource_set_string (hash, "nfo:hashAlgorithm", "chromaprint");
tracker_resource_set_string (hash, "nfo:hashValue",
grl_data_get_string (GRL_DATA (media), l->data));
grl_data_get_string (GRL_DATA (media), grl_metadata_key_chromaprint));
} else if (l->data == GRLKEYID_TO_POINTER (GRL_METADATA_KEY_ARTIST)) {
TrackerResource *artist;
const gchar *artist_name;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment