I am trying to use DmQuickSort to sort a database.
When I execute the code that calls the DmQuickSort I get an error:
<code> called SysFatalAlert with the message: "DataMgr.c, Line 5342, Err insertion sort".
Converting to DmInsertionSort did not change this behavior.
Here is a brief snippit of code that makes the call:
... if (sortButtonSel != SORT_CANCEL) { DmInsertionSort(PTDB, (DmComparF *)ComparePTDBRecords, sortButtonSel);
What's the (DmComparF *) cast for? If the function is defined right, it shouldn't need a cast I don't think.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
