Fix command_test Subformat count

This commit is contained in:
Arthur Taylor 2021-01-23 14:50:00 -08:00
parent 30ba21d6c2
commit 64ce116687

View File

@ -532,7 +532,7 @@ format_tests (void)
/* Now test subtype formats. */ /* Now test subtype formats. */
sf_command (NULL, SFC_GET_FORMAT_SUBTYPE_COUNT, &count, sizeof (int)) ; sf_command (NULL, SFC_GET_FORMAT_SUBTYPE_COUNT, &count, sizeof (int)) ;
if (count < 0 || count > 30) if (count < 0 || count > 33)
{ printf ("Line %d: Weird count.\n", __LINE__) ; { printf ("Line %d: Weird count.\n", __LINE__) ;
exit (1) ; exit (1) ;
} ; } ;