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 2019-11-02 18:54:02 +01:00
parent 0d4378a5cc
commit 709ce2c6da
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 1 deletions

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);
}