From: Wolfgang Bangerth Date: Sat, 12 Aug 2017 18:14:48 +0000 (-0600) Subject: Avoid warning in 64-bit mode. X-Git-Tag: v9.0.0-rc1~1292^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ba3fb78ee2c6011e8d511fad3f56b2912a132fe;p=dealii.git Avoid warning in 64-bit mode. #4778 also forgot to fix an initializer. This patch fixes this. --- diff --git a/source/hp/dof_handler.cc b/source/hp/dof_handler.cc index 75123e9861..21078fa6a7 100644 --- a/source/hp/dof_handler.cc +++ b/source/hp/dof_handler.cc @@ -171,7 +171,7 @@ namespace internal // one slot as the end marker for the fe_indices. at the // same time already fill the vertex_dof_offsets field dof_handler.vertex_dof_offsets.resize (dof_handler.tria->n_vertices(), - numbers::invalid_dof_index); + numbers::invalid_unsigned_int); unsigned int vertex_slots_needed = 0; for (unsigned int v=0; vn_vertices(); ++v)