From 128c446077dc1f14768d4eba73c5835f4fa0414c Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Sun, 30 Aug 2020 13:50:14 +0200 Subject: [PATCH] psppire-spread-sheetmodel.c: modified userdata increment using GPOINTER_TO_INT --- src/ui/gui/psppire-spreadsheet-model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-spreadsheet-model.c b/src/ui/gui/psppire-spreadsheet-model.c index e0173c6add..d946197262 100644 --- a/src/ui/gui/psppire-spreadsheet-model.c +++ b/src/ui/gui/psppire-spreadsheet-model.c @@ -201,7 +201,7 @@ tree_model_iter_next (GtkTreeModel *model, GtkTreeIter *iter) return FALSE; } - iter->user_data = (void *) ((intptr_t)(iter->user_data) + 1); + iter->user_data = GINT_TO_POINTER (GPOINTER_TO_INT (iter->user_data) + 1); return TRUE; } -- 2.30.2