mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 00:18:26 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
15 lines
415 B
Diff
15 lines
415 B
Diff
Index: tif_open.c
|
|
===================================================================
|
|
--- tif_open.c (revision 48037)
|
|
+++ tif_open.c (working copy)
|
|
@@ -516,6 +516,9 @@
|
|
TIFFSetClientdata(TIFF* tif, thandle_t newvalue)
|
|
{
|
|
thandle_t m = tif->tif_clientdata;
|
|
+#ifdef USE_WIN32_FILEIO
|
|
+ newvalue = (thandle_t) _get_osfhandle(newvalue);
|
|
+#endif /* USE_WIN32_FILEIO */
|
|
tif->tif_clientdata = newvalue;
|
|
return m;
|
|
}
|
|
|