Commit Diff


commit - 6844db842719f3b3d1405a7295b0f8ab84c44094
commit + f96777db7d671131d0aa9d8e5445f7bdcdddce5d
blob - 6f6875da900aa7c9d36e813729d62640aac5221d
blob + 47046436747dafdbffbcae6da6dc26f4b79f2a26
--- pdf.c
+++ pdf.c
@@ -1853,9 +1853,9 @@ act_txtobj(const HParseResult *p, void *u)
 
 	// TODO:: Handle non-horizontal text
 
-	char *buf;
+	uint8_t *buf;
 	size_t len = 0, cap = 64;	/* characters used/allocated */
-	const char *app;		/* characters to append */
+	const uint8_t *app;		/* characters to append */
 	size_t napp;			/* number of characters to append */
 	int newline;			/* append a newline first? */