From a69cee87a781de25066cc611f260c1129169b874 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 4 Aug 2012 18:19:19 +0000 Subject: [PATCH] [LIBTIFF] - Fix a warning svn path=/trunk/; revision=57044 --- reactos/dll/3rdparty/libtiff/rosdiff.patch | 2 +- reactos/dll/3rdparty/libtiff/tif_open.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/3rdparty/libtiff/rosdiff.patch b/reactos/dll/3rdparty/libtiff/rosdiff.patch index f3e5f3d6aae..f24bc8e02f7 100644 --- a/reactos/dll/3rdparty/libtiff/rosdiff.patch +++ b/reactos/dll/3rdparty/libtiff/rosdiff.patch @@ -7,7 +7,7 @@ Index: tif_open.c { 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; diff --git a/reactos/dll/3rdparty/libtiff/tif_open.c b/reactos/dll/3rdparty/libtiff/tif_open.c index a17f342aa36..d3ef004d863 100644 --- a/reactos/dll/3rdparty/libtiff/tif_open.c +++ b/reactos/dll/3rdparty/libtiff/tif_open.c @@ -517,7 +517,7 @@ TIFFSetClientdata(TIFF* tif, thandle_t newvalue) { 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;