about summary refs log tree commit diff
path: root/math/test-math-iscanonical.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-math-iscanonical.cc')
-rw-r--r--math/test-math-iscanonical.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/test-math-iscanonical.cc b/math/test-math-iscanonical.cc
index 8ced7a73b4..4cfb1c5055 100644
--- a/math/test-math-iscanonical.cc
+++ b/math/test-math-iscanonical.cc
@@ -42,7 +42,7 @@ do_test (void)
 #if __HAVE_DISTINCT_FLOAT128
   check_type<_Float128> ();
 #endif
-  return errors;
+  return errors != 0;
 }
 
 #include <support/test-driver.c>