gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Thu Apr 4 13:31:36 EDT 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/3285bb8e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ca826d15 (commit)
	from  https://github.com/Gnucash/gnucash/commit/b33b864c (commit)



commit 3285bb8e6cc1b8b6ff888edc5cc7246a460cc0aa
Merge: b33b864c2f ca826d155b
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Apr 4 10:23:54 2024 -0700

    Merge Guido Falsi's 'i386_site_type_fix' into stable.


commit ca826d155ba9b6126d7abd41895e5a9f4067241f
Author: Guido Falsi <mad at madpilot.net>
Date:   Wed Apr 3 16:07:11 2024 +0200

    Use correct literal suffix for `size_type`.
    
    `std::vector<T,Allocator>::size` returns `size_type`. `%ld` works
    fine on 64 bit arches, but fails on 32 bit.
    
    Ref.: https://en.cppreference.com/w/cpp/container/vector/size
          https://en.cppreference.com/w/cpp/types/size_t

diff --git a/gnucash/import-export/import-main-matcher.cpp b/gnucash/import-export/import-main-matcher.cpp
index 8a234d3bc2..8f7c18b751 100644
--- a/gnucash/import-export/import-main-matcher.cpp
+++ b/gnucash/import-export/import-main-matcher.cpp
@@ -847,7 +847,7 @@ gnc_gen_trans_assign_transfer_account_to_selection_cb (GtkMenuItem *menuitem,
     bool is_selection = true;
     auto debugging_enabled{qof_log_check (G_LOG_DOMAIN, QOF_LOG_DEBUG)};
 
-    DEBUG("Rows in selection = %ld", selected_refs.size());
+    DEBUG("Rows in selection = %zu", selected_refs.size());
 
     for (const auto& ref : selected_refs)
     {



Summary of changes:
 gnucash/import-export/import-main-matcher.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list