mescc: Mes C Library: Fix compile warnings.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 May 2019 11:41:00 +0000 (13:41 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 May 2019 11:41:00 +0000 (13:41 +0200)
commiteff35b8a5415ce5e798db4da5e000a7bd3ed792c
tree737f2d7182e2293a06057162732d764c3090ab22
parent198d4a652dc53f014f5a3c57d727400a392e9786
mescc: Mes C Library: Fix compile warnings.

* lib/stdio/fputc.c (fputc): Oops, stream is a long.
* lib/stdlib/malloc.c (malloc): Cast to char *. FIXME
* lib/string/memchr.c (memchr): Cast to void *.
* lib/string/memcmp.c (memcmp): Add const cast.
lib/stdio/fputc.c
lib/stdlib/malloc.c
lib/string/memchr.c
lib/string/memcmp.c