summaryrefslogtreecommitdiff
blob: 6e12a56f431dfd3e86f91f93843d255e2c2242e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/gtkcompletionline.cc
+++ b/src/gtkcompletionline.cc
@@ -376,7 +377,7 @@
   return 0;
 }
 
-int my_alphasort(const void* va, const void* vb) {
+int my_alphasort(const dirent** va, const dirent** vb) {
   const struct dirent** a = (const struct dirent**)va;
   const struct dirent** b = (const struct dirent**)vb;