diff --git a/src/report.c b/src/report.c index c35d73f..0e7336d 100644 --- a/src/report.c +++ b/src/report.c @@ -237,7 +237,7 @@ void writesummary(Project *pr) Parser *parser = &pr->parser; Times *time = &pr->times; - char s[MAXFNAME + 1]; + char s[MAXLINE + 1]; int i; int nres = 0; diff --git a/tests/test_net_builder.cpp b/tests/test_net_builder.cpp index 698d4c3..5163ea3 100644 --- a/tests/test_net_builder.cpp +++ b/tests/test_net_builder.cpp @@ -304,6 +304,7 @@ BOOST_FIXTURE_TEST_CASE(test_save_net2, FixtureInitClose) //char id[EN_MAXID+1]; double p1_1, p2_1; // p1_2, p2_2; double q1_1, q2_1; // q1_2, q2_2; + int ind; // Build a network error = EN_addnode(ph, (char *)"N1", EN_JUNCTION, &ind);