shithub: fnt

Download patch

ref: 6f19daadfe93ffa9dadce1224dad58b2cb7951ee
parent: 958c1774975d7239b0752eed92bd323cb0d4e877
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Jul 24 22:28:51 EDT 2024

print_SimpleGlyph: %ud -> %PRId16

--- a/otf.c.in
+++ b/otf.c.in
@@ -535,7 +535,7 @@
 		f->print(a, "\n");
 	}
 	if(v->instructionLength > 0){
-		f->print(a, "%*s%s: %ud\n", indent, "", "instructionLength", v->instructionLength);
+		f->print(a, "%*s%s: %"PRId16"\n", indent, "", "instructionLength", v->instructionLength);
 		f->print(a, "%*s%s:", indent, "", "instructions");
 		for(int i = 0; i < v->instructionLength; i++)
 			f->print(a, " %02"PRIx8, v->instructions[i]);
--- a/plan9/otf.c
+++ b/plan9/otf.c
@@ -536,7 +536,7 @@
 		f->print(a, "\n");
 	}
 	if(v->instructionLength > 0){
-		f->print(a, "%*s%s: %ud\n", indent, "", "instructionLength", v->instructionLength);
+		f->print(a, "%*s%s: %"PRId16"\n", indent, "", "instructionLength", v->instructionLength);
 		f->print(a, "%*s%s:", indent, "", "instructions");
 		for(int i = 0; i < v->instructionLength; i++)
 			f->print(a, " %02"PRIx8, v->instructions[i]);
--