gnucash stable: Fails to build on Windows error in gnc-report.cpp
Robert Fewell
bobit at code.gnucash.org
Mon Jun 9 05:06:32 EDT 2025
Updated via https://github.com/Gnucash/gnucash/commit/3083c79e (commit)
from https://github.com/Gnucash/gnucash/commit/87c8cd89 (commit)
commit 3083c79ea0fa4fa4d91abfcfae06bcce57b34663
Author: Robert Fewell <14uBobIT at gmail.com>
Date: Mon Jun 9 10:03:11 2025 +0100
Fails to build on Windows error in gnc-report.cpp
Change 'uint' to 'guint'
diff --git a/gnucash/report/gnc-report.cpp b/gnucash/report/gnc-report.cpp
index 32f94a6e1a..ca2ccc3507 100644
--- a/gnucash/report/gnc-report.cpp
+++ b/gnucash/report/gnc-report.cpp
@@ -263,13 +263,13 @@ gnc_report_id_string_to_report_id (const char *id_string)
g_return_val_if_fail (id_string, -1);
char *end_ptr;
- uint rpt_id = std::strtoul (id_string, &end_ptr, 10);
+ guint rpt_id = std::strtoul (id_string, &end_ptr, 10);
if (end_ptr == id_string) return -1;
if (*end_ptr == '\0') return rpt_id;
if (*end_ptr != '|') return -1;
auto anchor_str = end_ptr + 1;
- uint anchor_id = std::strtoul (anchor_str, &end_ptr, 10);
+ guint anchor_id = std::strtoul (anchor_str, &end_ptr, 10);
if (end_ptr == anchor_str || *end_ptr != '\0') return -1;
const SCM get_linked = scm_c_eval_string ("gnc:report-get-linked-report");
Summary of changes:
gnucash/report/gnc-report.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list