$OpenBSD: patch-dav_util_c,v 1.1 2005/10/28 01:04:53 brad Exp $ --- dav_util.c.orig Thu Oct 27 20:53:15 2005 +++ dav_util.c Thu Oct 27 20:53:32 2005 @@ -546,7 +546,7 @@ void dav_xml2text(pool * p, array_header *namespaces, int *ns_map, const char **pbuf, - size_t *psize) + int *psize) { /* get the exact size, plus a null terminator */ size_t size = dav_elem_size(elem, style, namespaces, ns_map) + 1;