From cb07ecf3a7c4e3fd1a94802a3eb2c0566b8d5c18 Mon Sep 17 00:00:00 2001 From: gustav_b Date: Sun, 24 Jun 2007 14:47:56 +0000 Subject: [PATCH] Fix cast causing compile error on x86-64 --- src/widgets/toolbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 4c497134f..67338cbcf 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -2106,7 +2106,7 @@ static void sp_rect_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions static void sp_3dbox_toggle_vp_changed( GtkToggleAction *act, gpointer data ) { - guint dir = (guint) data; + guint dir = GPOINTER_TO_UINT(data); Box3D::PerspDir axis;// = (Box3D::PerspDir) data; GString *pstring; -- 2.30.2