[cig-commits] [commit] master: One more try to get rid of warnings (c69ad95)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon May 19 15:13:42 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/ed4caebc0ab942d8c7bc1a6a3ba70e37f93accde...dbe66e1b6d25d5ff21653c48f14f343e10ae69f4

>---------------------------------------------------------------

commit c69ad95a48a17ebbc82fd44eb335b4c743eb71ab
Author: ian-r-rose <ian.r.rose at gmail.com>
Date:   Mon May 19 15:18:23 2014 -0500

    One more try to get rid of warnings


>---------------------------------------------------------------

c69ad95a48a17ebbc82fd44eb335b4c743eb71ab
 source/material_model/multicomponent.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/material_model/multicomponent.cc b/source/material_model/multicomponent.cc
index 7d0cdb7..aba07bc 100644
--- a/source/material_model/multicomponent.cc
+++ b/source/material_model/multicomponent.cc
@@ -374,7 +374,7 @@ namespace aspect
     {
       //not pretty, but we need to get the number of compositional fields before
       //simulatoraccess has been initialized here...
-      int n_fields;
+      unsigned int n_fields;
       prm.enter_subsection ("Compositional fields");
         {
           n_fields = prm.get_integer ("Number of fields");



More information about the CIG-COMMITS mailing list