diff options
Diffstat (limited to 'libiberty/bcopy.c')
-rw-r--r-- | libiberty/bcopy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/bcopy.c b/libiberty/bcopy.c index 1e2eca9..f9b7a8a 100644 --- a/libiberty/bcopy.c +++ b/libiberty/bcopy.c @@ -16,8 +16,8 @@ bcopy (const void *src, void *dest, size_t len) { if (dest < src) { - const char *firsts = src; - char *firstd = dest; + const char *firsts = (const char *) src; + char *firstd = (char *) dest; while (len--) *firstd++ = *firsts++; } |