#if defined(_WIN32) && defined(USE_WIN32_FILEIO) TIFFSetClientdata(faxTIFF, (thandle_t)_get_osfhandle(fileno(in))); #else TIFFSetClientdata(faxTIFF, (thandle_t)fileno(in)); #endif
Author: tfaber Date: Sat Aug 4 18:19:19 2012 New Revision: 57044 URL: http://svn.reactos.org/svn/reactos?rev=57044&view=rev Log: [LIBTIFF] - Fix a warning Modified: trunk/reactos/dll/3rdparty/libtiff/rosdiff.patch trunk/reactos/dll/3rdparty/libtiff/tif_open.c Modified: trunk/reactos/dll/3rdparty/libtiff/rosdiff.patch URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/libtiff/rosdiff.patch?rev=57044&r1=57043&r2=57044&view=diff ============================================================================== --- trunk/reactos/dll/3rdparty/libtiff/rosdiff.patch [iso-8859-1] (original) +++ trunk/reactos/dll/3rdparty/libtiff/rosdiff.patch [iso-8859-1] Sat Aug 4 18:19:19 2012 @@ -7,7 +7,7 @@ { thandle_t m = tif->tif_clientdata; +#ifdef USE_WIN32_FILEIO -+ newvalue = (thandle_t) _get_osfhandle(newvalue); ++ newvalue = (thandle_t)_get_osfhandle((int)newvalue); +#endif /* USE_WIN32_FILEIO */ tif->tif_clientdata = newvalue; return m; Modified: trunk/reactos/dll/3rdparty/libtiff/tif_open.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/libtiff/tif_open.c?rev=57044&r1=57043&r2=57044&view=diff ============================================================================== --- trunk/reactos/dll/3rdparty/libtiff/tif_open.c [iso-8859-1] (original) +++ trunk/reactos/dll/3rdparty/libtiff/tif_open.c [iso-8859-1] Sat Aug 4 18:19:19 2012 @@ -517,7 +517,7 @@ { thandle_t m = tif->tif_clientdata; #ifdef USE_WIN32_FILEIO - newvalue = (thandle_t) _get_osfhandle(newvalue); + newvalue = (thandle_t)_get_osfhandle((int)newvalue); #endif /* USE_WIN32_FILEIO */ tif->tif_clientdata = newvalue; return m;