gnucash master: Fix printf arg mismatch, windows build failure.
John Ralls
jralls at code.gnucash.org
Wed May 27 14:26:43 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/fa769090 (commit)
from https://github.com/Gnucash/gnucash/commit/1adbc548 (commit)
commit fa769090e8a8eb3d5a3591694d350eecf2625425
Author: John Ralls <jralls at ceridwen.us>
Date: Wed May 27 10:16:24 2020 -0700
Fix printf arg mismatch, windows build failure.
diff --git a/gnucash/register/register-gnome/gnucash-item-edit.c b/gnucash/register/register-gnome/gnucash-item-edit.c
index dcafee2ee..3ea0de310 100644
--- a/gnucash/register/register-gnome/gnucash-item-edit.c
+++ b/gnucash/register/register-gnome/gnucash-item-edit.c
@@ -553,7 +553,7 @@ draw_text_cursor_cb (GtkWidget *widget, cairo_t *cr, gpointer user_data)
gint cursor_byte_pos = cursor_pos < text_len ?
g_utf8_offset_to_pointer (pango_text, cursor_pos) - pango_text :
strlen (pango_text);
- DEBUG ("Cursor: %d, byte offset %d, text byte len %ld", cursor_pos,
+ DEBUG ("Cursor: %d, byte offset %d, text byte len %zu", cursor_pos,
cursor_byte_pos, strlen (pango_text));
pango_layout_get_cursor_pos (layout, cursor_byte_pos,
&strong_pos, NULL);
Summary of changes:
gnucash/register/register-gnome/gnucash-item-edit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list