From 96d9637fc98c737cb67783356a88391a0112ff4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Wed, 30 Nov 2011 23:48:16 +0100 Subject: [PATCH] The 'enum face_tag' cannot (portably) hold the result of arithmetic. Make it an 'int'. Blame: Bard.Skaflestad@sintef.no --- cgridinterface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cgridinterface.c b/cgridinterface.c index b4b1867c..451d3d09 100644 --- a/cgridinterface.c +++ b/cgridinterface.c @@ -69,9 +69,8 @@ static int fill_cell_topology(struct processed_grid *pg, struct CornerpointGrid *G ) { - int f, c1, c2; + int f, c1, c2, tag; size_t c, nc, nhf; - enum face_tag tag; struct UnstructuredGrid *g;