mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 04:22:37 +01:00
Fix newlib lock
This commit is contained in:
parent
6bc6534a9f
commit
96b24236f1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user