gnucash stable: Fix build errors in 5b0d70.
John Ralls
jralls at code.gnucash.org
Tue Sep 23 17:26:44 EDT 2025
Updated via https://github.com/Gnucash/gnucash/commit/a5a67525 (commit)
from https://github.com/Gnucash/gnucash/commit/5b0d70b7 (commit)
commit a5a67525ad0efdf91289bdcdc7d7591a20e109f7
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Sep 23 14:26:25 2025 -0700
Fix build errors in 5b0d70.
diff --git a/gnucash/import-export/import-backend.cpp b/gnucash/import-export/import-backend.cpp
index 6c818d3176..0cbc03282c 100644
--- a/gnucash/import-export/import-backend.cpp
+++ b/gnucash/import-export/import-backend.cpp
@@ -46,6 +46,7 @@
#include "gnc-ui-util.h"
#include <algorithm>
+#include <string>
#define GNCIMPORT_DESC "desc"
#define GNCIMPORT_MEMO "memo"
@@ -402,7 +403,7 @@ GdkPixbuf* gen_probability_pixbuf(gint score_original, GNCImportSettings *settin
GError *err = nullptr;
std::string xpm_str = "/* XPM */\nstatic char * XFACE[] = {\n";
- for (int i = 0; i < xpm_size - 1; i++)
+ for (auto i = 0UL; i < xpm_size - 1; i++)
{
xpm_str += "\"";
xpm_str += xpm[i];
Summary of changes:
gnucash/import-export/import-backend.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the gnucash-changes
mailing list