Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > main-release-src > by-pkgid > d2ec3b8197e0449d2e17b8b7ded84a69 > files > 4

fltk-1.1.10-3mdv2010.1.src.rpm

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: