mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Fix signature of randomGet64()
This commit is contained in:
parent
ec4430d2e6
commit
15fe53dad3
@ -1,4 +1,4 @@
|
||||
// Copyright 2018 plutoo
|
||||
|
||||
void randomGet(u8* buf, size_t len);
|
||||
u64 randomGet64(u8* buf, size_t len);
|
||||
u64 randomGet64(void);
|
||||
|
@ -151,7 +151,7 @@ void randomGet(u8* buf, size_t len)
|
||||
mutexUnlock(&g_randMutex);
|
||||
}
|
||||
|
||||
u64 randomGet64(u8* buf, size_t len)
|
||||
u64 randomGet64(void)
|
||||
{
|
||||
u64 tmp;
|
||||
randomGet((u8*) &tmp, sizeof(tmp));
|
||||
|
Loading…
Reference in New Issue
Block a user