summary refs log tree commit diff
path: root/gnu/packages/patches/libcss-check-format.patch
blob: b297ac1c9294783b55e286cacb83693c47befc9b (plain) (blame)
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);