mescc: Mes C Library: Prepare for M2-Planet: fdputc.
* lib/mes/fdputc.c (fdputc): Prepare for M2-Planet.
This commit is contained in:
parent
d7d3d398eb
commit
dbbc04172c
|
@ -23,6 +23,7 @@
|
||||||
int
|
int
|
||||||
fdputc (int c, int fd)
|
fdputc (int c, int fd)
|
||||||
{
|
{
|
||||||
write (fd, (char *) &c, 1);
|
char *p = &c;
|
||||||
|
write (fd, p, 1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue