$OpenBSD: patch-fpcsrc_rtl_bsd_ossysc_inc,v 1.1.1.1 2013/03/08 11:34:18 pascal Exp $

Correct last parameter to getdirentries(2)
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=23223

--- fpcsrc/rtl/bsd/ossysc.inc.orig	Thu Jul 26 20:34:03 2012
+++ fpcsrc/rtl/bsd/ossysc.inc	Thu Jul 26 20:34:16 2012
@@ -223,7 +223,7 @@ with blockmode have this higher?}
 function readbuffer:longint;
 
 var retval :longint;
-    basep : clong;
+    basep : off_t;
 begin
 {$ifdef USE_GETDIRENTRIES_SYSCALL}
  Retval:=do_syscall(syscall_nr_getdirentries,TSysParam(dirp^.dd_fd),TSysParam(@dirp^.dd_buf^),DIRBLKSIZ {sizeof(getdentsbuffer)},TSysParam(@basep));
