Permalink
Browse files

Fix for signed/unsigned comparison warning

  • Loading branch information...
1 parent d78bab2 commit 44e1945f8d7b6a299000ddc9513a2ed91a04d687 @roystgnr roystgnr committed Jan 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/geom/elem.h
View
@@ -2190,7 +2190,7 @@ class Elem::PackedElem
libmesh_assert_greater_equal (*(_buf_begin+5), 0);
libmesh_assert_less (static_cast<unsigned int>(*(_buf_begin+5)),
libMesh::n_processors() ||
- *(_buf_begin+5) == DofObject::invalid_processor_id);
+ static_cast<unsigned int>(*(_buf_begin+5)) == DofObject::invalid_processor_id);
return static_cast<unsigned int>(*(_buf_begin+5));
}

0 comments on commit 44e1945

Please sign in to comment.