← Back to team overview

kicad-developers team mailing list archive

[PATCH] Correct signature of sorting function

 

---
 common/displlst.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/displlst.cpp b/common/displlst.cpp
index 77631fc..afea210 100644
--- a/common/displlst.cpp
+++ b/common/displlst.cpp
@@ -236,7 +236,7 @@ void EDA_LIST_DIALOG::onClose( wxCloseEvent& event )
 
 /* Sort alphabetically, case insensitive.
  */
-static int wxCALLBACK MyCompareFunction( long aItem1, long aItem2, long aSortData )
+static int wxCALLBACK MyCompareFunction( wxIntPtr aItem1, wxIntPtr aItem2, wxIntPtr aSortData )
 {
     wxString* component1Name = (wxString*) aItem1;
     wxString* component2Name = (wxString*) aItem2;
-- 
2.1.4



Follow ups