This repository has been archived by the owner on Jul 23, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio-buffer-utils: Really fix sorting of channels
As per the documentation of g_ptr_array_sort "Note that the comparison function for g_ptr_array_sort() doesn't take the pointers from the array as arguments, it takes pointers to the pointers in the array" So the arguments to the function compare_channel_index (gconstpointer a, gconstpointer b) needs to be dereferenced to get pointer to iio_channel_info. The error was included in the fixup for commit 984803b by the maintainer. Closes #99
- Loading branch information