summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuites/psxtests/psxsem01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxsem01/init.c b/testsuites/psxtests/psxsem01/init.c
index 023f79a4ab..8601f926b3 100644
--- a/testsuites/psxtests/psxsem01/init.c
+++ b/testsuites/psxtests/psxsem01/init.c
@@ -115,7 +115,7 @@ static void test_sem_init_too_large_inital_value(void)
int rv;
errno = 0;
- rv = sem_init( &sem, 0, SEM_VALUE_MAX + 1 );
+ rv = sem_init( &sem, 0, (unsigned int) SEM_VALUE_MAX + 1 );
rtems_test_assert( rv == -1 );
rtems_test_assert( errno == EINVAL );
}