mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
854635b423
PR: 9594 Submitted by: Seigou Tanimura <tanimura@naklab.dnj.ynu.ac.jp>
13 lines
420 B
Plaintext
13 lines
420 B
Plaintext
--- src/lib/TIFF/tif_write.c.orig Tue Feb 11 12:06:47 1992
|
|
+++ src/lib/TIFF/tif_write.c Sun Jan 17 17:48:20 1999
|
|
@@ -550,7 +550,8 @@
|
|
}
|
|
} else
|
|
td->td_stripoffset[strip] =
|
|
- lseek(tif->tif_fd, 0L, L_XTND);
|
|
+ /*changed 0L to (off_t)0 .. jj@ldjpc.apana.org.au*/
|
|
+ lseek(tif->tif_fd, (off_t)0, L_XTND);
|
|
tif->tif_curoff = td->td_stripoffset[strip];
|
|
}
|
|
if (!WriteOK(tif->tif_fd, data, cc)) {
|