Code

Fix cast causing compile error on x86-64
authorgustav_b <gustav_b@users.sourceforge.net>
Sun, 24 Jun 2007 14:47:56 +0000 (14:47 +0000)
committergustav_b <gustav_b@users.sourceforge.net>
Sun, 24 Jun 2007 14:47:56 +0000 (14:47 +0000)
src/widgets/toolbox.cpp

index 4c497134f5c4879323dbc3317e478d9a5aa4dd79..67338cbcf627f00e445bb19f11b873db5b451abf 100644 (file)
@@ -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;