parted/0025-tests-Fix-unsigned-warning-in-duplicate.c.patch
DistroBaker b7125dc640 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/parted.git#633c371306f0da38c70879e948b612775032740a
2020-12-01 18:08:09 +00:00

26 lines
890 B
Diff

From 09fb0fc6dadde9982d243567cf92743149895102 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Mon, 9 Nov 2020 15:53:30 -0800
Subject: [PATCH 25/42] tests: Fix unsigned warning in duplicate.c
---
tests/duplicate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/duplicate.c b/tests/duplicate.c
index a9dde84..771faab 100644
--- a/tests/duplicate.c
+++ b/tests/duplicate.c
@@ -134,7 +134,7 @@ main (int argc, char **argv)
{
if (!ped_partition_is_flag_available(disk_part, flag))
continue;
- fprintf (stderr, "Checking partition flag %d\n", flag);
+ fprintf (stderr, "Checking partition flag %u\n", flag);
fprintf (stderr, "%d ? %d\n", ped_partition_get_flag (disk_part, flag),
ped_partition_get_flag (copy_part, flag));
assert (ped_partition_get_flag (disk_part, flag)
--
2.26.2