From 364b17723762f3a0b9d7d9aa8c3d4310baa79449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Mon, 12 Mar 2012 09:59:30 +0100 Subject: [PATCH] Remove a useless explicit type conversion. --- opm/core/pressure/tpfa/ifs_tpfa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/core/pressure/tpfa/ifs_tpfa.c b/opm/core/pressure/tpfa/ifs_tpfa.c index 156e7e30..5c7b2721 100644 --- a/opm/core/pressure/tpfa/ifs_tpfa.c +++ b/opm/core/pressure/tpfa/ifs_tpfa.c @@ -159,13 +159,13 @@ assemble_bc_contrib(struct UnstructuredGrid *G , /* ---------------------------------------------------------------------- */ { int is_neumann; - int i, f, c1, c2; + int f, c1, c2; - size_t j, ix; + size_t i, j, ix; is_neumann = 1; - for (i = 0; ((size_t) i) < bc->nbc; i++) { + for (i = 0; i < bc->nbc; i++) { if (bc->type[ i ] == BC_PRESSURE) { is_neumann = 0;