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:
parent
59c8f662a8
commit
96d9637fc9
@ -69,9 +69,8 @@ static int
|
|||||||
fill_cell_topology(struct processed_grid *pg,
|
fill_cell_topology(struct processed_grid *pg,
|
||||||
struct CornerpointGrid *G )
|
struct CornerpointGrid *G )
|
||||||
{
|
{
|
||||||
int f, c1, c2;
|
int f, c1, c2, tag;
|
||||||
size_t c, nc, nhf;
|
size_t c, nc, nhf;
|
||||||
enum face_tag tag;
|
|
||||||
|
|
||||||
struct UnstructuredGrid *g;
|
struct UnstructuredGrid *g;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user