gdb/testsuite: Fix race condition in gdb.base/skip.exp
[deliverable/binutils-gdb.git] / libiberty / bcopy.c
index 1e2eca9c64176332c98a0ecb211a319b04b77e47..f9b7a8acd5c72bbd870789f44124135bad5a06ab 100644 (file)
@@ -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++;
     }
This page took 0.022862 seconds and 4 git commands to generate.