From 2f8b21fc871d4b9a4c29990da3f4315a794fd745 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 21 Apr 2004 15:01:07 +0000 Subject: [PATCH] really fixed crash with strange HDN_GETDISPINFOWs under XP git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 2ea528e817..5fc412bb6b 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1780,7 +1780,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) // there's a GPF in Windows. // By returning TRUE here, we avoid further processing // of this strange message. - if ( info->iItem >= GetColumnCount() ) + if ( (unsigned)info->iItem >= (unsigned)GetColumnCount() ) return TRUE; } // fall through -- 2.45.2