Silence `mrbmemcpy` and `mrbmemset` warnings.
MODIFY
include/mruby.h
include/mruby.h
@@ -1186,8 +1186,8 @@ MRB_API mrb_value mrb_format(mrb_state *mrb, const char *format, ...);
static inline void*
mrbmemcpy(void *dst, const void *src, size_t n)
{
- char *d = dst;
- const char *s = src;
+ char *d = (char*)dst;
+ const char *s = (const char*)src;
while (n--)
*d++ = *s++;
return d;
@@ -1197,7 +1197,7 @@ mrbmemcpy(void *dst, const void *src, size_t n)
static inline void*
mrbmemset(void *s, int c, size_t n)
{
- char *t = s;
+ char *t = (char*)s;
while (n--)
*t++ = c;
return s;

Silence `mrbmemcpy` and `mrbmemset` warnings.