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

* lib/mes/fdputc.c (fdputc): Prepare for M2-Planet.
This commit is contained in:
Jan Nieuwenhuizen 2019-11-02 18:55:21 +01:00
parent a31d9207e5
commit 0115c9acbe
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
int
fdputc (int c, int fd)
{
write (fd, (char *) &c, 1);
char *p = &c;
write (fd, p, 1);
return 0;
}