From 4829f4175482e0a4ad8f282dd0441904c33e2f97 Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Fri, 7 Sep 2012 23:22:38 -0400 Subject: Added signal-related comments. Made g++ friendly. --- tests/fdso.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/fdso.c b/tests/fdso.c index 8a2a0d0..8e320cf 100644 --- a/tests/fdso.c +++ b/tests/fdso.c @@ -48,8 +48,8 @@ TESTCASE(invalid_od, ALL, TESTCASE(invalid_obj_type, ALL, "reject invalid object types") { - SYSCALL_FAILS( EINVAL, od_open(0, -1, 0) ); - SYSCALL_FAILS( EINVAL, od_open(0, 10, 0) ); + SYSCALL_FAILS( EINVAL, od_open(0, (obj_type_t)-1, 0) ); + SYSCALL_FAILS( EINVAL, od_open(0, (obj_type_t)10, 0) ); } TESTCASE(not_inherit_od, GSN_EDF | PSN_EDF, -- cgit v1.2.2