Fix warnings on OpenIndiana (Illumos)

This commit is contained in:
Todd C. Miller
2018-08-30 14:06:18 -06:00
parent 765d99e1f9
commit a924b4610b
4 changed files with 9 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ struct parse_gids_test {
static const GETGROUPS_T test1_out[] = { 0, 1, 2, 3, 4 };
static const GETGROUPS_T test2_out[] = { 1, 2, 3, 4 };
static const GETGROUPS_T test3_out[] = { 0, 1, -2, 3, 4 };
static const GETGROUPS_T test3_out[] = { 0, 1, (gid_t)-2, 3, 4 };
/* XXX - test syntax errors too */
static struct parse_gids_test test_data[] = {