File wvdial-glibc210.patch of Package wvdial

Index: wvdial-1.60/wvmodemscan.cc
===================================================================
--- wvdial-1.60.orig/wvmodemscan.cc
+++ wvdial-1.60/wvmodemscan.cc
@@ -496,10 +496,8 @@ static int fileselect(const struct diren
 }
 
 
-static int filesort(const void *_e1, const void *_e2)
+static int filesort(const dirent **e1, const dirent **e2)
 {
-    dirent const * const *e1 = (dirent const * const *)_e1;
-    dirent const * const *e2 = (dirent const * const *)_e2;
     const char *p1, *p2;
     int diff;
     
openSUSE Build Service is sponsored by