Add cast to prevent warning.
authordrepper <drepper>
Fri, 21 Mar 1997 19:54:32 +0000 (19:54 +0000)
committerdrepper <drepper>
Fri, 21 Mar 1997 19:54:32 +0000 (19:54 +0000)
gmon/gmon.c

index 49a3eb3..e00b339 100644 (file)
@@ -257,7 +257,7 @@ write_bb_counts (fd)
       __writev (fd, bbhead, 2);
       for (i = 0; i < ncounts; ++i)
        {
-         bbbody[0].iov_base = &grp->addresses[i];
+         bbbody[0].iov_base = (char *) &grp->addresses[i];
          bbbody[1].iov_base = &grp->counts[i];
          __writev (fd, bbbody, 2);
        }