X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-spreadsheet-model.c;h=d946197262fe4ac7c01db4db4473e2ca68dec57f;hb=9fd7169a58954be733ae42de9916826dd56a8b81;hp=e0173c6adde38884cfd954820c51dac710025218;hpb=952bce971f10482c5f2fdc64582f48aea1238f27;p=pspp 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; }