openbsd-ports/www/mod_dav/patches/patch-mod_dav_h
brad 3188a10c24 fixes for 64-bit archs.
From: Rolf Gartmann on the mod_dav list via Paul Weissmann in PR 4576
2005-10-28 01:04:53 +00:00

22 lines
596 B
Plaintext

$OpenBSD: patch-mod_dav_h,v 1.1 2005/10/28 01:04:53 brad Exp $
--- mod_dav.h.orig Thu Oct 27 20:53:42 2005
+++ mod_dav.h Thu Oct 27 20:54:13 2005
@@ -715,7 +715,7 @@ void dav_xml2text(
array_header *namespaces,
int *ns_map,
const char **pbuf,
- size_t *psize
+ int *psize
);
#define DAV_X2T_FULL 0 /* start tag, contents, end tag */
#define DAV_X2T_INNER 1 /* contents only */
@@ -909,7 +909,7 @@ typedef struct dav_db dav_db;
typedef struct
{
char *dptr;
- size_t dsize;
+ int dsize;
} dav_datum;
/* hook functions to enable pluggable databases */