mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-15 13:35:53 +01:00
- Fixed some compilation problems, which could lead to sigsegv at run time in
the new 'bag' code. - Fixed PPosition problem.
This commit is contained in:
@@ -157,7 +157,7 @@ WMCountInBag(WMBag *bag, void *item)
|
||||
|
||||
|
||||
void
|
||||
WMSortBag(WMBag *bag, int (*comparer)(void*, void*))
|
||||
WMSortBag(WMBag *bag, int (*comparer)(const void*, const void*))
|
||||
{
|
||||
qsort(bag->items, bag->count, sizeof(void*), comparer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user