summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/actions.at4
-rw-r--r--tests/cxx-type.at2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/actions.at b/tests/actions.at
index d5425d0b..8289588e 100644
--- a/tests/actions.at
+++ b/tests/actions.at
@@ -694,9 +694,9 @@ const char *source = YY_NULLPTR;
static
]AT_YYLEX_PROTOTYPE[
{
- static unsigned int counter = 0;
+ static unsigned counter = 0;
- unsigned int c = ]AT_VAL[]m4_ifval([$6], [.ival])[ = counter++;
+ unsigned c = ]AT_VAL[]m4_ifval([$6], [.ival])[ = counter++;
/* As in BASIC, line numbers go from 10 to 10. */
]AT_LOC_FIRST_LINE[ = ]AT_LOC_FIRST_COLUMN[ = 10 * c;
]AT_LOC_LAST_LINE[ = ]AT_LOC_LAST_COLUMN[ = ]AT_LOC_FIRST_LINE[ + 9;
diff --git a/tests/cxx-type.at b/tests/cxx-type.at
index 54b055a3..cf58cf85 100644
--- a/tests/cxx-type.at
+++ b/tests/cxx-type.at
@@ -139,7 +139,7 @@ main (int argc, char **argv)
{
char buffer[256];
int c;
- unsigned int i;
+ unsigned i;
static int lineNum = 1;
static int colNum = 0;