diff --git a/dune/gfe/rodlocalstiffness.hh b/dune/gfe/rodlocalstiffness.hh
index aefa7887305bf63f921cfe82f2b04901abff6b4b..508e18f032a542bd3efd97af9e08c1a807588e08 100644
--- a/dune/gfe/rodlocalstiffness.hh
+++ b/dune/gfe/rodlocalstiffness.hh
@@ -647,7 +647,7 @@ assembleGradient(const typename Basis::LocalView& localView,
     // Get quadrature rule
     const QuadratureRule<double, 1>& bendingQuad = QuadratureRules<double, 1>::rule(element.type(), bendingQuadOrder);
 
-    for (int pt=0; pt<bendingQuad.size(); pt++) {
+    for (std::size_t pt=0; pt<bendingQuad.size(); pt++) {
 
         // Local position of the quadrature point
         const FieldVector<double,1>& quadPos = bendingQuad[pt].position();