Blame SOURCES/0044-Fix-some-32-bit-size_t-format-specifier-errors.patch

a43681
From 150873b00fdb2d5aca2e7c66d0545ad55801409a Mon Sep 17 00:00:00 2001
a43681
From: Peter Jones <pjones@redhat.com>
a43681
Date: Fri, 11 Oct 2019 10:44:53 -0400
a43681
Subject: [PATCH 44/63] Fix some 32-bit size_t format specifier errors
a43681
a43681
Signed-off-by: Peter Jones <pjones@redhat.com>
a43681
---
a43681
 src/export.c | 8 ++++----
a43681
 1 file changed, 4 insertions(+), 4 deletions(-)
a43681
a43681
diff --git a/src/export.c b/src/export.c
a43681
index cfb021525ff..732b4bf30ad 100644
a43681
--- a/src/export.c
a43681
+++ b/src/export.c
a43681
@@ -149,7 +149,7 @@ overflow:
a43681
 	}
a43681
 
a43681
 	crc = efi_crc32(data, size - sizeof(uint32_t));
a43681
-	debug("efi_crc32(%p, %lu) -> 0x%"PRIx32", expected 0x%"PRIx32,
a43681
+	debug("efi_crc32(%p, %zu) -> 0x%"PRIx32", expected 0x%"PRIx32,
a43681
 	      data, size - sizeof(uint32_t), crc,
a43681
 	      *(uint32_t*)(data + size - sizeof(uint32_t)));
a43681
 
a43681
@@ -282,7 +282,7 @@ efi_variable_import_efivar(uint8_t *data, size_t datasz, efi_variable_t **var_ou
a43681
 		}
a43681
 
a43681
 		crc = efi_crc32(data, datasz - sizeof(uint32_t));
a43681
-		debug("efi_crc32(%p, %lu) -> 0x%"PRIx32", expected 0x%"PRIx32,
a43681
+		debug("efi_crc32(%p, %zu) -> 0x%"PRIx32", expected 0x%"PRIx32,
a43681
 		      data, datasz - sizeof(uint32_t), crc,
a43681
 		      *(uint32_t*)(data + datasz - sizeof(uint32_t)));
a43681
 
a43681
@@ -473,7 +473,7 @@ overflow:
a43681
 	ptr += var->data_size;
a43681
 
a43681
 	crc = efi_crc32(data, needed - sizeof(uint32_t));
a43681
-	debug("efi_crc32(%p, %lu) -> 0x%"PRIx32,
a43681
+	debug("efi_crc32(%p, %zu) -> 0x%"PRIx32,
a43681
 	      data, needed - sizeof(uint32_t), crc);
a43681
 	*(uint32_t *)ptr = crc;
a43681
 
a43681
@@ -611,7 +611,7 @@ overflow:
a43681
 	ptr += var->data_size;
a43681
 
a43681
 	crc = efi_crc32(data, needed - sizeof(uint32_t));
a43681
-	debug("efi_crc32(%p, %lu) -> 0x%"PRIx32,
a43681
+	debug("efi_crc32(%p, %zu) -> 0x%"PRIx32,
a43681
 	      data, needed - sizeof(uint32_t), crc);
a43681
 	*(uint32_t *)ptr = crc;
a43681
 
a43681
-- 
a43681
2.26.2
a43681