[PING]
[reactos.git] / reactos / dll / 3rdparty / libtiff / rosdiff.patch
1 Index: tif_open.c
2 ===================================================================
3 --- tif_open.c (revision 48037)
4 +++ tif_open.c (working copy)
5 @@ -516,6 +516,9 @@
6 TIFFSetClientdata(TIFF* tif, thandle_t newvalue)
7 {
8 thandle_t m = tif->tif_clientdata;
9 +#ifdef USE_WIN32_FILEIO
10 + newvalue = (thandle_t)_get_osfhandle((int)newvalue);
11 +#endif /* USE_WIN32_FILEIO */
12 tif->tif_clientdata = newvalue;
13 return m;
14 }
15