The 'enum face_tag' cannot (portably) hold the result of arithmetic.

Make it an 'int'.

Blame: Bard.Skaflestad@sintef.no
This commit is contained in:
Bård Skaflestad 2011-11-30 23:48:16 +01:00
parent 59c8f662a8
commit 96d9637fc9

View File

@ -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;