# | Line 566 | Line 566 | int ypos | |
---|---|---|
566 | if (lseek(outfd, (off_t)fls.l_start, SEEK_SET) < 0) | |
567 | filerr("seek"); | |
568 | if (hmult == 1) { | |
569 | < | if (writebuf(outfd, (char *)pbuf, |
569 | > | if (writebuf(outfd, pbuf, |
570 | vr*hr*sizeof(COLR)) != vr*hr*sizeof(COLR)) | |
571 | filerr("write"); | |
572 | } else | |
573 | for (y = 0; y < vr; y++) { | |
574 | < | if (writebuf(outfd, (char *)(pbuf+y*hr), |
574 | > | if (writebuf(outfd, pbuf+y*hr, |
575 | hr*sizeof(COLR)) != hr*sizeof(COLR)) | |
576 | filerr("write"); | |
577 | if (y < vr-1 && lseek(outfd, |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |