From 469e0ce09ae5ae9386a826cb0cfaed70977d25a8 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 24 May 2012 19:34:36 +0200 Subject: fix windows build. use 'guint' instead of 'uint'. although I do not know why you wouldn't just use 'unsigned int' (bzr r11410) --- src/mesh-context.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/mesh-context.cpp') diff --git a/src/mesh-context.cpp b/src/mesh-context.cpp index d34782e12..f522463cf 100644 --- a/src/mesh-context.cpp +++ b/src/mesh-context.cpp @@ -213,10 +213,10 @@ mesh_selection_changed (Inkscape::Selection *, gpointer data) // SPMeshGradient *mg = SP_MESHGRADIENT(server); - // uint rows = 0;//mg->array.patches.size(); - // for ( uint i = 0; i < rows; ++i ) { - // uint columns = 0;//mg->array.patches[0].size(); - // for ( uint j = 0; j < columns; ++j ) { + // guint rows = 0;//mg->array.patches.size(); + // for ( guint i = 0; i < rows; ++i ) { + // guint columns = 0;//mg->array.patches[0].size(); + // for ( guint j = 0; j < columns; ++j ) { // } // } // } @@ -225,7 +225,7 @@ mesh_selection_changed (Inkscape::Selection *, gpointer data) // } // GList* dragger_ptr = drag->draggers; // Points to GrDragger class (group of GrDraggable) - // uint count = 0; + // guint count = 0; // while( dragger_ptr ) { // std::cout << "mesh_selection_changed: dragger: " << ++count << std::endl; @@ -381,7 +381,7 @@ sp_mesh_context_corner_operation (SPMeshContext *rc, MeshCornerOperation operati SPDocument *doc = NULL; GrDrag *drag = rc->_grdrag; - std::map > points; + std::map > points; std::map items; // Get list of selected draggers for each mesh. @@ -405,10 +405,10 @@ sp_mesh_context_corner_operation (SPMeshContext *rc, MeshCornerOperation operati } // Loop over meshes. - for( std::map >::const_iterator iter = points.begin(); iter != points.end(); ++iter) { + for( std::map >::const_iterator iter = points.begin(); iter != points.end(); ++iter) { SPMeshGradient *mg = SP_MESHGRADIENT( iter->first ); if( iter->second.size() > 0 ) { - uint noperation = 0; + guint noperation = 0; switch (operation) { case MG_CORNER_SIDE_TOGGLE: -- cgit v1.2.3