[LIBTIFF]

- Fix a warning

svn path=/trunk/; revision=57044
This commit is contained in:
Thomas Faber 2012-08-04 18:19:19 +00:00
parent 8865002092
commit a69cee87a7
2 changed files with 2 additions and 2 deletions

View 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;

View 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;