mirror of
https://abf.rosa.ru/djam/fltk.git
synced 2025-02-24 01:12:51 +00:00
13 lines
645 B
Diff
13 lines
645 B
Diff
Index: src/filename_list.cxx
|
|
===================================================================
|
|
--- src/filename_list.cxx
|
|
+++ src/filename_list.cxx 2009-08-12 11:02:03.000000000 +0200
|
|
@@ -67,7 +67,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:
|
|
- int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
|
|
+ int n = scandir(d, 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:
|