Fix 1459615 (debian #364408): allow building of synfigstudio on amd64. Patch by Andre...
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 23 Apr 2006 10:10:19 +0000 (10:10 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 23 Apr 2006 10:10:19 +0000 (10:10 +0000)
git-svn-id: http://svn.voria.com/code@158 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/dockdialog.cpp
synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp

index a6cbc19..9995445 100644 (file)
@@ -87,7 +87,7 @@ DockDialog::DockDialog():
        widget_comp_select=new Widget_CompSelect();
        
        // Give ourselves an ID that is most likely unique
-       set_id(synfig::UniqueID().get_uid()^reinterpret_cast<int>(this));
+       set_id(synfig::UniqueID().get_uid()^reinterpret_cast<long>(this));
        
        set_role(strprintf("dock_dialog_%d",get_id()));
        GRAB_HINT_DATA(
index c22da5f..edd6a3e 100644 (file)
@@ -223,7 +223,7 @@ KeyframeTreeStore::create(etl::loose_handle<synfigapp::CanvasInterface> canvas_i
 void
 KeyframeTreeStore::reset_stamp()
 {
-       stamp_=time(0)+reinterpret_cast<int>(this);
+       stamp_=time(0)+reinterpret_cast<long>(this);
 }
 
 /*