e3eec3
diff -r -u -x .git ../efibootmgr-16.orig/src/efibootdump.c ./src/efibootdump.c
e3eec3
--- ../efibootmgr-16.orig/src/efibootdump.c	2018-04-09 15:38:51.000000000 -0500
e3eec3
+++ ./src/efibootdump.c	2020-08-06 15:27:27.679192698 -0500
e3eec3
@@ -67,8 +67,8 @@
e3eec3
 	text_path = alloca(text_path_len);
e3eec3
 	if (!text_path)
e3eec3
 		error(100, "Couldn't allocate memory");
e3eec3
-	rc = efidp_format_device_path(text_path, text_path_len,
e3eec3
-				      dp, pathlen);
e3eec3
+	rc = efidp_format_device_path((unsigned char *)text_path,
e3eec3
+				      text_path_len, dp, pathlen);
e3eec3
 	if (rc < 0) {
e3eec3
 		printf("<bad device path>");
e3eec3
 		return;
e3eec3
diff -r -u -x .git ../efibootmgr-16.orig/src/efibootmgr.c ./src/efibootmgr.c
e3eec3
--- ../efibootmgr-16.orig/src/efibootmgr.c	2018-04-09 15:38:51.000000000 -0500
e3eec3
+++ ./src/efibootmgr.c	2020-08-06 15:27:12.433089400 -0500
e3eec3
@@ -941,8 +941,8 @@
e3eec3
 			pathlen = efi_loadopt_pathlen(load_option,
e3eec3
 						      boot->data_size);
e3eec3
 			dp = efi_loadopt_path(load_option, boot->data_size);
e3eec3
-			rc = efidp_format_device_path(text_path, text_path_len,
e3eec3
-						      dp, pathlen);
e3eec3
+			rc = efidp_format_device_path((unsigned char *)text_path,
e3eec3
+						      text_path_len, dp, pathlen);
e3eec3
 			if (rc < 0)
e3eec3
 				error(18, "Could not parse device path");
e3eec3
 			rc += 1;
e3eec3
@@ -952,8 +952,8 @@
e3eec3
 			if (!text_path)
e3eec3
 				error(19, "Could not parse device path");
e3eec3
 
e3eec3
-			rc = efidp_format_device_path(text_path, text_path_len,
e3eec3
-						      dp, pathlen);
e3eec3
+			rc = efidp_format_device_path((unsigned char *)text_path,
e3eec3
+						      text_path_len, dp, pathlen);
e3eec3
 			if (rc < 0)
e3eec3
 				error(20, "Could not parse device path");
e3eec3
 			printf("\t%s", text_path);
e3eec3
diff -r -u -x .git ../efibootmgr-16.orig/src/eficonman.c ./src/eficonman.c
e3eec3
--- ../efibootmgr-16.orig/src/eficonman.c	2018-04-09 15:38:51.000000000 -0500
e3eec3
+++ ./src/eficonman.c	2020-08-06 15:08:19.614514403 -0500
e3eec3
@@ -76,7 +76,7 @@
e3eec3
 		dp = whole_dp;
e3eec3
 		while (dp) {
e3eec3
 			ssize_t sz, ssz;
e3eec3
-			char *s = NULL;
e3eec3
+			unsigned char *s = NULL;
e3eec3
 
e3eec3
 			if (efidp_is_multiinstance(dp)) {
e3eec3
 				sz = efidp_instance_size(dp);