* testsuite/test-strtol.c (run_tests): Cast strtol return to
unsigned long.
From-SVN: r217429
+2014-11-12 Kirill Yukhin <kirill.yukhin@intel.com>
+
+ * testsuite/test-strtol.c (run_tests): Cast strtol return to
+ unsigned long.
+
2014-11-11 Anthony Brandon <anthony.brandon@gmail.com>
Manuel López-Ibáñez <manu@gcc.gnu.org>
switch (test_data[i].fun)
{
case STRTOL:
- res = strtol (test_data[i].nptr, 0, test_data[i].base);
+ res = (unsigned long) strtol (test_data[i].nptr,
+ 0, test_data[i].base);
break;
case STRTOUL:
res = strtoul (test_data[i].nptr, 0, test_data[i].base);