From 3558f18daf50281ee1cd68cca96cd967dbac04ba Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Fri, 5 Feb 2010 21:35:38 +0100 Subject: Everything seems to work : loading a module that displays a message. --- src/stem/lib/stdlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stem/lib/stdlib.c') diff --git a/src/stem/lib/stdlib.c b/src/stem/lib/stdlib.c index f4ebd33..c5245e7 100644 --- a/src/stem/lib/stdlib.c +++ b/src/stem/lib/stdlib.c @@ -1,7 +1,7 @@ #include "stdlib.h" void *memcpy(void *vd, const void *vs, int count) { - uint8_t *dest = vd, *src = vs; + uint8_t *dest = (uint8_t*)vd, *src = (uint8_t*)vs; uint32_t f = count % 4, n = count / 4, i; const uint32_t* s = (uint32_t*)src; uint32_t* d = (uint32_t*)dest; -- cgit v1.2.3