style: tests: remove useless reference to 'int' in integral types

* tests/actions.at, tests/cxx-type.at: Prefer 'unsigned' to 'unsigned
int'.  Likewise for long and short.
This commit is contained in:
Akim Demaille
2018-08-12 14:53:59 +02:00
parent 5cc5703239
commit e3b7c01820
2 changed files with 3 additions and 3 deletions

View File

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

View File

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