~ruther/guix-local

ref: 8240f35e15ab46f36d76b4ea5518113c67e2c607 guix-local/gnu/packages/patches/libcss-check-format.patch -rw-r--r-- 424 bytes
8240f35e — Sharlatan Hellseher gnu: python-parse-type: Update to 0.6.6. 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
Submitted upstream at https://bugs.netsurf-browser.org/mantis/view.php?id=2870

--- libcss-0.9.2/test/dump.h.orig
+++ libcss-0.9.2/test/dump.h
@@ -131,7 +131,7 @@ void dump_rule_media(css_rule_media *s, char **buf, size_t *buflen)
 	char *ptr = *buf;
 	css_rule *rule;
 
-	ptr += sprintf(ptr, "| @media %s%03lx",
+	ptr += sprintf(ptr, "| @media %s%03" PRIx64,
 			s->media->negate_type ? "not " : "",
 			s->media->type);