[niepce] ui: fix a format warning



commit 2aeadd0908d32a0a2709e96da7970b01f5b9ee23
Author: Hubert Figuière <hub figuiere net>
Date:   Sat Apr 21 20:38:20 2018 -0400

    ui: fix a format warning

 src/niepce/ui/imageliststore.cpp      | 4 ++--
 src/niepce/ui/workspacecontroller.cpp | 7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/niepce/ui/imageliststore.cpp b/src/niepce/ui/imageliststore.cpp
index 5d1c752..cbc4d28 100644
--- a/src/niepce/ui/imageliststore.cpp
+++ b/src/niepce/ui/imageliststore.cpp
@@ -1,7 +1,7 @@
 /*
  * niepce - ui/imageliststore.cpp
  *
- * Copyright (C) 2008-2017 Hubert Figuiere
+ * Copyright (C) 2008-2018 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -118,7 +118,7 @@ void ImageListStore::on_lib_notification(const eng::LibNotification &ln)
             m_current_folder = 0;
             m_current_keyword = param->container;
         }
-        DBG_OUT("received folder content file # %lu %p %p", l->size());
+        DBG_OUT("received folder content file # %lu", l->size());
         // clear the map before the list.
         m_idmap.clear();
         clear();
diff --git a/src/niepce/ui/workspacecontroller.cpp b/src/niepce/ui/workspacecontroller.cpp
index d9081c5..aa308d9 100644
--- a/src/niepce/ui/workspacecontroller.cpp
+++ b/src/niepce/ui/workspacecontroller.cpp
@@ -1,7 +1,7 @@
 /*
  * niepce - ui/workspacecontroller.cpp
  *
- * Copyright (C) 2007-2017 Hubert Figuiere
+ * Copyright (C) 2007-2018 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -182,7 +182,7 @@ void WorkspaceController::on_lib_notification(const eng::LibNotification &ln)
     case eng::NotificationType::KEYWORD_COUNTED:
     {
         auto count = engine_library_notification_get_count(&ln);
-        DBG_OUT("count for container %Ld is %d", (long long)count->id, count->count);
+        DBG_OUT("count for container %Ld is %Ld", (long long)count->id, (long long)count->count);
         std::map<eng::library_id_t, Gtk::TreeIter>::const_iterator iter;
         switch (type) {
         case eng::NotificationType::FOLDER_COUNTED:
@@ -207,7 +207,8 @@ void WorkspaceController::on_lib_notification(const eng::LibNotification &ln)
     case eng::NotificationType::KEYWORD_COUNT_CHANGE:
     {
         auto count = engine_library_notification_get_count(&ln);
-        DBG_OUT("count change for container %Ld is %d", (long long)count->id, count->count);
+        DBG_OUT("count change for container %Ld is %Ld", (long long)count->id,
+                (long long)count->count);
         std::map<eng::library_id_t, Gtk::TreeIter>::const_iterator iter;
         switch (type) {
         case eng::NotificationType::FOLDER_COUNT_CHANGE:


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