$OpenBSD: patch-src_other_undo_compress_c,v 1.1.1.1 2019/12/07 02:06:45 bcallah Exp $

Fix occurrences of code where char is considered as signed on all platforms.

Index: src/other/undo_compress.c
--- src/other/undo_compress.c.orig
+++ src/other/undo_compress.c
@@ -91,7 +91,7 @@ void UndoByteDecode(uint8_t *dst,uint8_t *src,int srcs
 {
 	uint8_t *ps,*psend;
 	int len;
-	char lenb;
+	signed char lenb;
 
 	ps = src;
 	psend = src + srcsize;
@@ -193,7 +193,7 @@ int UndoWordDecode(uint8_t *dst,uint8_t *src,int srcsi
 	uint8_t *ps,*psend;
 	uint16_t *pd,val;
 	int len,size;
-	char lenb;
+	signed char lenb;
 
 	pd = (uint16_t *)dst;
 	ps = src;
