blob: d66c77f867eaf6fe71fbeb86c975c609522628b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
From:
http://sourceforge.net/projects/ede/forums/forum/249614/topic/3458921
diff -uNr efltk.orig/src/core/filename_list.cpp efltk/src/core/filename_list.cpp
--- efltk.orig/src/core/filename_list.cpp 2007-11-16 14:17:51.000000000 +0100
+++ efltk/src/core/filename_list.cpp 2010-01-15 01:03:59.000000000 +0100
@@ -59,7 +59,7 @@
// The vast majority of Unix systems want the sort function to have this
// prototype, most likely so that it can be passed to qsort without any
// changes:
- return scandir(dir, list, 0, (int(*)(const void*,const void*))sort);
+ return scandir(dir, list, 0, (int(*)(const dirent **,const dirent **))sort);
#else
// This version is when we define our own scandir (WIN32 and perhaps
// some Unix systems) and apparently on Irix:
|