[LIBTIFF]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 4 Aug 2012 18:19:19 +0000 (18:19 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 4 Aug 2012 18:19:19 +0000 (18:19 +0000)
- Fix a warning

svn path=/trunk/; revision=57044

reactos/dll/3rdparty/libtiff/rosdiff.patch
reactos/dll/3rdparty/libtiff/tif_open.c

index f3e5f3d..f24bc8e 100644 (file)
@@ -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;
index a17f342..d3ef004 100644 (file)
@@ -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;