Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 270487
Collapse All | Expand All

(-)src/filename_list.cxx (-1 / +1 lines)
Lines 63-69 int fltk::filename_list(const char *d, d Link Here
63
  // some Unix systems):
63
  // some Unix systems):
64
  int n = scandir(d, list, 0, sort);
64
  int n = scandir(d, list, 0, sort);
65
#elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
65
#elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
66
  int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
66
  int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent **))sort);
67
#elif defined(__hpux) || defined(__CYGWIN__)
67
#elif defined(__hpux) || defined(__CYGWIN__)
68
  // HP-UX, Cygwin define the comparison function like this:
68
  // HP-UX, Cygwin define the comparison function like this:
69
  int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
69
  int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);

Return to bug 270487