Compilation fix for wxMSW 64 bit build with icc.
This compiler doesn't want to narrow INVALID_HANDLE_VALUE to int, so use wxUIntPtr instead. See #16233. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,7 +185,7 @@ extern LONG APIENTRY _EXPORT
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// close the handle in the class dtor
|
// close the handle in the class dtor
|
||||||
template <int INVALID_VALUE = INVALID_HANDLE_VALUE>
|
template <wxUIntPtr INVALID_VALUE = (wxUIntPtr)INVALID_HANDLE_VALUE>
|
||||||
class AutoHANDLE
|
class AutoHANDLE
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user