diff --git a/tests/local.at b/tests/local.at index 17759b2f..579b85c3 100644 --- a/tests/local.at +++ b/tests/local.at @@ -558,7 +558,7 @@ static static int toknum = 0; int res; ]AT_USE_LEX_ARGS[ - int input_elts = sizeof input / sizeof input[0]; + int input_elts = (int) (sizeof input / sizeof input[0]); (void) input_elts; assert (0 <= toknum && toknum < input_elts); res = input[toknum++];