wok view fltk-2.0.x/stuff/filename_list-dirent.patch @ rev 6517

Up: mpfr, mpfr-dev to 3.0.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 02 14:39:44 2010 +0000 (2010-10-02)
parents
children
line source
1 --- src/filename_list.cxx 2009-09-24 21:22:26.000000000 +0200
2 +++ src/filename_list.cxx 2009-09-24 21:28:12.000000000 +0200
3 @@ -63,7 +63,7 @@
4 // some Unix systems):
5 int n = scandir(d, list, 0, sort);
6 #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
7 - int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
8 + int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent **))sort);
9 #elif defined(__hpux) || defined(__CYGWIN__)
10 // HP-UX, Cygwin define the comparison function like this:
11 int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);