wok-6.x view fltk/stuff/filename_list-dirent.patch @ rev 10488
pidgin-libnotify: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 13:04:06 2011 +0200 (2011-05-25) |
parents | |
children |
line source
1 --- src/filename_list.cxx Thu Sep 24 21:32:52 2009
2 +++ src/filename_list.cxx Thu Sep 24 21:35:20 2009
3 @@ -67,7 +67,7 @@
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 - 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 #else
10 // This version is when we define our own scandir (WIN32 and perhaps
11 // some Unix systems) and apparently on IRIX: