updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / efltk / efltk-2.08-filename_list_compile_error.patch
blob972150138e822686e892bd78c437b346cde0ca13
1 --- efltk.orig/src/core/filename_list.cpp 2009-04-22 12:51:38.000000000 +0000
2 +++ efltk.new/src/core/filename_list.cpp 2010-05-21 23:48:01.000000000 +0000
3 @@ -59,7 +59,7 @@ int fl_filename_list(const char *dir, di
4 // The vast majority of Unix systems want the sort function to have this
5 // prototype, most likely so that it can be passed to qsort without any
6 // changes:
7 - return scandir(dir, list, 0, (int(*)(const void*,const void*))sort);
8 + return scandir(dir, list, 0, (int(*)(const dirent **,const dirent **))sort);
9 #else
10 // This version is when we define our own scandir (WIN32 and perhaps
11 // some Unix systems) and apparently on Irix: