2013-09-26 17:14:40 +02:00

14 lines
477 B
Plaintext

$NetBSD: patch-DOM_DOM_xsh,v 1.1 2011/10/15 17:53:51 dholland Exp $
--- DOM/DOM.xsh~ 2003-02-24 14:01:12.000000000 +0000
+++ DOM/DOM.xsh
@@ -635,7 +635,7 @@ xql_ns(object, expr, nsmap, ...)
i = 0;
hv_iterinit(maph);
while (he = hv_iternext(maph)) {
- int l;
+ ssize_t l;
if (++nsnum > 10 * mapsize) {
mapsize++;
nsarr = realloc(nsarr, (10*2*mapsize + 1) * sizeof(char*));