Added casts to remove warnings

This commit is contained in:
Paolo Cignoni 2005-11-10 15:44:17 +00:00
parent 73ca69b0b7
commit 5a906c4a50
1 changed files with 4 additions and 2 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.31 2005/10/07 13:27:22 turini
Minor changes in Set method: added use of template scalar type computing BBox.
Revision 1.30 2005/10/05 17:05:08 pietroni Revision 1.30 2005/10/05 17:05:08 pietroni
corrected bug on Set Function .... bbox must be exetended in order to have'nt any object on his borde corrected bug on Set Function .... bbox must be exetended in order to have'nt any object on his borde
@ -411,8 +414,7 @@ namespace vcg {
/*links.push_back( Link((typename ContainerType::iterator)NULL, /*links.push_back( Link((typename ContainerType::iterator)NULL,
(grid.size()-1)));*/ (grid.size()-1)));*/
links.push_back( Link(NULL, links.push_back( Link( NULL, int(grid.size())-1) );
(grid.size()-1)));
// Ordinamento dei links // Ordinamento dei links
sort( links.begin(), links.end() ); sort( links.begin(), links.end() );