Fixed g++ warnings

This commit is contained in:
Laurent Saboret 2008-08-28 14:14:49 +00:00
parent 8f1e17abcf
commit 5de6d12b43
3 changed files with 19 additions and 6 deletions

13
.gitignore vendored
View File

@ -452,10 +452,23 @@ Surface_reconstruction_3/doc_doxygen
Surface_reconstruction_3/doc_html
Surface_reconstruction_3/doc_pdf
Surface_reconstruction_3/doc_ps
Surface_reconstruction_3/examples/Surface_reconstruction_3/*.kdev*
Surface_reconstruction_3/examples/Surface_reconstruction_3/*.ncb
Surface_reconstruction_3/examples/Surface_reconstruction_3/*.suo
Surface_reconstruction_3/examples/Surface_reconstruction_3/.cdtproject
Surface_reconstruction_3/examples/Surface_reconstruction_3/.project
Surface_reconstruction_3/examples/Surface_reconstruction_3/.settings
Surface_reconstruction_3/examples/Surface_reconstruction_3/APSS_reconstruction
Surface_reconstruction_3/examples/Surface_reconstruction_3/AQtimeProject
Surface_reconstruction_3/examples/Surface_reconstruction_3/ProgramOutput.*
Surface_reconstruction_3/examples/Surface_reconstruction_3/cgal_test
Surface_reconstruction_3/examples/Surface_reconstruction_3/debug
Surface_reconstruction_3/examples/Surface_reconstruction_3/error.txt
Surface_reconstruction_3/examples/Surface_reconstruction_3/makefile
Surface_reconstruction_3/examples/Surface_reconstruction_3/poisson_reconstruction
Surface_reconstruction_3/examples/Surface_reconstruction_3/polygirl_apss.off
Surface_reconstruction_3/examples/Surface_reconstruction_3/polygirl_poisson.off
Surface_reconstruction_3/examples/Surface_reconstruction_3/release
Surface_reconstruction_3/test/Surface_reconstruction_3/*.kdev*
Surface_reconstruction_3/test/Surface_reconstruction_3/*.ncb
Surface_reconstruction_3/test/Surface_reconstruction_3/*.suo

View File

@ -100,7 +100,7 @@ int main(int argc, char * argv[])
// Note: 1.5 * Poisson's distance gives roughly the same number of triangles.
FT sm_error_bound = 1e-3;
for (unsigned int i=3; i+1<argc ; ++i)
for (int i=3; i+1<argc ; ++i)
{
if (std::string(argv[i])=="-sm_radius")
sm_radius = atof(argv[++i]);

View File

@ -99,7 +99,7 @@ int main(int argc, char * argv[])
FT sm_distance = 0.002; // AG: was 0.005 (upper bound of distance to surface/Poisson)
FT sm_error_bound = 1e-3;
for (unsigned int i=3; i+1<argc ; ++i)
for (int i=3; i+1<argc ; ++i)
{
if (std::string(argv[i])=="-sm_radius")
sm_radius = atof(argv[++i]);