]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 7 Oct 2005 13:12:10 +0000 (13:12 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 7 Oct 2005 13:12:10 +0000 (13:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@11571 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_in.cc

index 3e1427fbb7dd48e87568d5a50b64c2a4d08feab3..3adc46374d7d41e05a1092c99ceff56330b616f8 100644 (file)
@@ -1177,7 +1177,8 @@ void GridIn<3>::read_netcdf (const std::string &filename)
                                   //   no_of_surfaceelements)
   NcDim *bquads_dim=nc.get_dim("no_of_surfacequadrilaterals");
   AssertThrow(bquads_dim->is_valid(), ExcIO());
-  AssertThrow(bquads_dim->size()==n_bquads, ExcIO());
+  AssertThrow(static_cast<unsigned int>(
+               bquads_dim->size())==n_bquads, ExcIO());
 
   NcVar *bmarker_var=nc.get_var("boundarymarker_of_surfaces");
   AssertThrow(bmarker_var->is_valid(), ExcIO());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.