shithub: xml-9atom

Download patch

ref: 17b3ae4f1a1ce71b26bd2d383c9be513af29bb66
parent: 05cf7ced4f8ffc7dc0ab2fbc601d5d33e6e5ca42
author: sirjofri <sirjofri@sirjofri.de>
date: Mon Jul 8 08:06:22 EDT 2024

changes UVLONG lud llud mismatch

--- a/xb.c
+++ b/xb.c
@@ -64,12 +64,12 @@
 		close(fd);
 	}
 	if(mem)
-		fprint(2, "%s: parsed - mem size=%lud free=%lud alloc=%lud nfree=%d\n",
+		fprint(2, "%s: parsed - mem size=%llud free=%llud alloc=%llud nfree=%d\n",
 			argv0, mainmem->cursize, mainmem->curfree, mainmem->curalloc, mainmem->nfree);
 	xmlprint(xp, 1);
 	xmlfree(xp);
 	if(mem)
-		fprint(2, "%s: free'd - mem size=%lud free=%lud alloc=%lud nfree=%d\n",
+		fprint(2, "%s: free'd - mem size=%llud free=%llud alloc=%llud nfree=%d\n",
 			argv0, mainmem->cursize, mainmem->curfree, mainmem->curalloc, mainmem->nfree);
 	exits("");
 }