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

* lib/mes/fdputc.c (fdputc): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-07-25 19:55:21 +02:00
parent d7d3d398eb
commit dbbc04172c
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

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