$OpenBSD: patch-src_mozilla_TOCProtocolHandler_cpp,v 1.2 2004/01/18 10:49:52 wilfried Exp $
--- src/mozilla/TOCProtocolHandler.cpp.orig	2003-06-14 18:44:50.000000000 +0200
+++ src/mozilla/TOCProtocolHandler.cpp	2003-12-12 16:54:12.000000000 +0100
@@ -367,7 +367,7 @@ NS_METHOD GTOCProtocolHandler::CreateHel
 	nsresult rv;
 
 	struct dirent **namelist;
-	int n = scandir (SHARE_DIR"/../gnome/help", &namelist, select,
+	int n = scandir (SHARE_DIR"/../gnome/help", &namelist, (int (*)(struct dirent *))select,
 			 alphasort);
 	if (n<0) return NS_ERROR_FAILURE;
 
