From 4878fbb880d2818b052a2d473f07f361f5187f77 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 4 Nov 2011 09:09:54 +0000 Subject: [PATCH] Make wxQsort() definition exactly the same as declaration. Remove the extra "const" in the first parameter. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/utilscmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 389c87769b..13f052e7d9 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -814,7 +814,7 @@ typedef struct smaller partition. This *guarantees* no more than log (n) stack size is needed (actually O(1) in this case)! */ -void wxQsort(void *const pbase, size_t total_elems, +void wxQsort(void* pbase, size_t total_elems, size_t size, wxSortCallback cmp, const void* user_data) { register char *base_ptr = (char *) pbase; -- 2.47.2