freebsd-ports/net/tinyldap/files/patch-mstorage_add.c
Dirk Meyer 615fb92797 - update to 20080425
better ACL support
2008-04-25 20:23:03 +00:00

11 lines
487 B
C

--- mstorage_add.c.orig 2008-04-25 13:09:34.000000000 +0200
+++ mstorage_add.c 2008-04-25 21:46:42.000000000 +0200
@@ -19,7 +19,7 @@
/* Sadly, mremap is only available on Linux */
/* Please petition your congressman^Woperating system vendor to include it! */
-long mstorage_add(mstorage_t* p,const char* s,unsigned long n) {
+long mstorage_add(mstorage_t* p,const char* s,size_t n) {
if (p->mapped-p->used<n) {
if (!p->root) {
/* nothing allocated. mmap /dev/zero */