Warning fixes for msvc - return function address explicitly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton 2004-12-17 15:37:30 +00:00
parent b0e43bafc9
commit beaae8c3d6

View File

@ -2034,12 +2034,12 @@ initYCbCrConversion(TIFFRGBAImage* img)
*/
TIFFGetFieldDefaulted(img->tif, TIFFTAG_YCBCRSUBSAMPLING, &hs, &vs);
switch ((hs<<4)|vs) {
case 0x44: return (putcontig8bitYCbCr44tile);
case 0x42: return (putcontig8bitYCbCr42tile);
case 0x41: return (putcontig8bitYCbCr41tile);
case 0x22: return (putcontig8bitYCbCr22tile);
case 0x21: return (putcontig8bitYCbCr21tile);
case 0x11: return (putcontig8bitYCbCr11tile);
case 0x44: return (&putcontig8bitYCbCr44tile);
case 0x42: return (&putcontig8bitYCbCr42tile);
case 0x41: return (&putcontig8bitYCbCr41tile);
case 0x22: return (&putcontig8bitYCbCr22tile);
case 0x21: return (&putcontig8bitYCbCr21tile);
case 0x11: return (&putcontig8bitYCbCr11tile);
}
return (NULL);
@ -2075,7 +2075,7 @@ initCIELabConversion(TIFFRGBAImage* img)
return NULL;
}
return putcontig8bitCIELab;
return &putcontig8bitCIELab;
}
/*