diff options
author | DJ Delorie <dj@redhat.com> | 2006-10-26 04:18:42 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2006-10-26 04:18:42 +0000 |
commit | 3ac01eb2651b654a48ba6c4e8fec1fd12a82dc3b (patch) | |
tree | 31c2c77b301b8b5e1874e1953744dda0ce0f6491 /libiberty/bcopy.c | |
parent | 1bc214bab3b406fa9e8d510bad40bc6658c5c378 (diff) | |
download | gdb-3ac01eb2651b654a48ba6c4e8fec1fd12a82dc3b.zip gdb-3ac01eb2651b654a48ba6c4e8fec1fd12a82dc3b.tar.gz gdb-3ac01eb2651b654a48ba6c4e8fec1fd12a82dc3b.tar.bz2 |
merge from gcc
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++; } |