tests/inf4.c: use unsigned int for infinite loop iterator
commit6b78923985eb1e496ec31a0126069ef02e6fcc6a
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 8 Mar 2016 10:33:11 +0000 (8 11:33 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 8 Mar 2016 14:01:39 +0000 (8 15:01 +0100)
treef16d603a0e562f1af26ddfcdc2e43f9c3b84cca3
parentb6ef6edacc96778188f67c809550bae6a883046e
tests/inf4.c: use unsigned int for infinite loop iterator

Technically, continuing to increment a signed integer eventually
runs into undefined behavior.  This will become more apparent
after assignments to undeclared loop iterators are introduced.
Use an unsigned integer instead.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
tests/inf4.c
tests/inf4.scop