We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ded247 commit 8cfb9d7Copy full SHA for 8cfb9d7
include/nuttx/semaphore.h
@@ -147,7 +147,7 @@ extern "C"
147
*
148
****************************************************************************/
149
150
-int nxsem_init(FAR sem_t *sem, int pshared, uint32_t value);
+int nxsem_init(FAR sem_t *sem, int pshared, int32_t value);
151
152
/****************************************************************************
153
* Name: nxsem_destroy
libs/libc/semaphore/sem_init.c
@@ -62,7 +62,7 @@
62
63
64
65
-int nxsem_init(FAR sem_t *sem, int pshared, uint32_t value)
+int nxsem_init(FAR sem_t *sem, int pshared, int32_t value)
66
{
67
UNUSED(pshared);
68
0 commit comments