test-math-iscanonical.cc: Replace bool with int
commitcdd4155d6c527c00a89606385859984e35bd2910
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 4 Oct 2017 00:41:32 +0000 (3 17:41 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 4 Oct 2017 00:41:47 +0000 (3 17:41 -0700)
tree62bb427dd22c415e623b6030975e578468937789
parentd8f619b393a230497d201398e184e3b384a263d3
test-math-iscanonical.cc: Replace bool with int

Fix GCC 7 compilation error:

test-math-iscanonical.cc: In function ‘void check_type()’:
test-math-iscanonical.cc:33:11: error: use of an operand of type ‘bool’ in ‘operator++’ is deprecated [-Werror=deprecated]
     errors++;
           ^~

* math/test-math-iscanonical.cc (error): Replace bool with int.
ChangeLog
math/test-math-iscanonical.cc