mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
14 lines
477 B
Plaintext
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*));
|