blob: 69aab2ff269354df92094c96a4d08c14cbe1dc78 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- 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)) {
|