summaryrefslogtreecommitdiff
path: root/mysys/my_winsem.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_winsem.c')
-rw-r--r--mysys/my_winsem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_winsem.c b/mysys/my_winsem.c
index 268a05a0b21..e2713d189b2 100644
--- a/mysys/my_winsem.c
+++ b/mysys/my_winsem.c
@@ -375,7 +375,7 @@ sem_post (sem_t * sem)
*/
int
-sem_post_multiple (sem_t * sem, int count )
+sem_post_multiple (sem_t * sem, unsigned int count)
{
#ifdef EXTRA_DEBUG
if (sem == NULL || *sem == NULL || count <= 0)
@@ -397,7 +397,7 @@ sem_post_multiple (sem_t * sem, int count )
}
int
-sem_getvalue (sem_t *sem, int *sval)
+sem_getvalue (sem_t *sem, unsigned int *sval)
{
errno = ENOSYS;
return -1;