[grilo-plugins] [metadata-store] Use GRL_KEYID_FORMAT when printing a key



commit 5aa92570d2e305b70c65ae7db6bdbf27650608be
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Fri Jun 4 13:37:01 2010 +0200

    [metadata-store] Use GRL_KEYID_FORMAT when printing a key
    
    Do not force to a specific format (in this case, to %u), but use
    GRL_KEYID_FORMAT instead.

 src/metadata-store/grl-metadata-store.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/metadata-store/grl-metadata-store.c b/src/metadata-store/grl-metadata-store.c
index 75ca15e..a9b58cd 100644
--- a/src/metadata-store/grl-metadata-store.c
+++ b/src/metadata-store/grl-metadata-store.c
@@ -474,7 +474,8 @@ write_keys (sqlite3 *db,
     GrlKeyID key_id = POINTER_TO_GRLKEYID (iter->data);
     const gchar *col_name = get_column_name_from_key_id (key_id);
     if (!col_name) {
-      g_warning ("Key %u is not supported for writing, ignoring...", key_id);
+      g_warning ("Key %" GRL_KEYID_FORMAT " is not supported for writing, ignoring...",
+                 key_id);
       failed_keys = g_list_prepend (failed_keys, GRLKEYID_TO_POINTER (key_id));
     } else {
       supported_keys++;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]