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

* lib/linux/dup.c (dup): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-07-25 19:54:02 +02:00
parent 4cef964aba
commit 4c6c73468a
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -24,5 +24,6 @@
int
dup (int old)
{
return _sys_call1 (SYS_dup, (int) old);
long long_old = old;
return _sys_call1 (SYS_dup, long_old);
}