Fix newlib lock

This commit is contained in:
James Benton 2017-07-03 15:43:53 +01:00
parent 6bc6534a9f
commit 96b24236f1

View File

@ -70,7 +70,7 @@ static int __libwut_lock_close(int *lock)
static int __libwut_lock_acquire(int *lock)
{
OSMutex *mutex = NULL;
OSMutex *mutex = (OSMutex *)lock;
if (!lock || *lock == 0) {
return -1;
}
@ -81,7 +81,7 @@ static int __libwut_lock_acquire(int *lock)
static int __libwut_lock_release(int *lock)
{
OSMutex *mutex = NULL;
OSMutex *mutex = (OSMutex *)lock;
if (!lock || *lock == 0) {
return -1;
}