summaryrefslogtreecommitdiff
path: root/editors/AbiWord2/files/patch-src::wp::ap::unix::ap_UnixApp.cpp
blob: 0d1581c9c35c71c62686deb6bd4327e17d66998f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$FreeBSD$

--- src/wp/ap/unix/ap_UnixApp.cpp	2001/11/23 15:08:40	1.1
+++ src/wp/ap/unix/ap_UnixApp.cpp	2001/11/23 15:11:10
@@ -606,7 +606,7 @@
 
       UT_DEBUGMSG(("DOM: leading plugins from %s\n", pluginDir.c_str()));
       
-      n = scandir(pluginDir.c_str(), &namelist, so_only, alphasort);
+      n = scandir(pluginDir.c_str(), &namelist, (int (*)(dirent *))so_only, alphasort);
       if (n < 0)
 	{
 	  UT_DEBUGMSG(("DOM: no plugins found\n"));