mirror of
https://github.com/devkitPro/wut.git
synced 2026-08-28 13:55:04 -05:00
crt: **Really** fix newlib lock
This commit is contained in:
@@ -70,7 +70,7 @@ static int __libwut_lock_close(int *lock)
|
||||
|
||||
static int __libwut_lock_acquire(int *lock)
|
||||
{
|
||||
OSMutex *mutex = (OSMutex *)lock;
|
||||
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 = (OSMutex *)lock;
|
||||
OSMutex *mutex = (OSMutex *)*lock;
|
||||
if (!lock || *lock == 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user