mescc: Mes C Library: Prepare for M2-Planet: gettimeofday.

* lib/linux/gettimeofday.c (gettimeofday): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-07-25 19:54:28 +02:00 committed by Jan Nieuwenhuizen
parent a9a1e72e2a
commit 3fbd16aba7
1 changed files with 3 additions and 1 deletions

View File

@ -25,5 +25,7 @@
int
gettimeofday (struct timeval *tv, struct timezone *tz)
{
return _sys_call2 (SYS_gettimeofday, (long) tv, (long) tz);
long long_tv = tv;
long long_tz = tz;
return _sys_call2 (SYS_gettimeofday, long_tv, long_tz);
}