mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
fix(kernel/syscalls): cast syscall arguments to scarg type for call_time
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
79f2faf55b
commit
f9476d8c57
@ -1807,7 +1807,7 @@ typedef enum
|
|||||||
/* Time */
|
/* Time */
|
||||||
|
|
||||||
/** @copydoc SYS_TIME */
|
/** @copydoc SYS_TIME */
|
||||||
#define call_time(t) syscall1(SYS_TIME, t)
|
#define call_time(t) syscall1(SYS_TIME, (scarg)t)
|
||||||
|
|
||||||
/** @copydoc SYS_CLOCK_GETTIME */
|
/** @copydoc SYS_CLOCK_GETTIME */
|
||||||
#define call_clock_gettime(clockid, tp) syscall2(SYS_CLOCK_GETTIME, (scarg)clockid, (scarg)tp)
|
#define call_clock_gettime(clockid, tp) syscall2(SYS_CLOCK_GETTIME, (scarg)clockid, (scarg)tp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user