From 02821adc476bcf53207cb9e527e71a8ea8bd3b99 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Fri, 3 Jan 2020 11:26:44 +0100 Subject: [PATCH] Fix a signed/unsigned comparison compiler warning. --- lib/setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/setup.c b/lib/setup.c index 456f4310..25574525 100644 --- a/lib/setup.c +++ b/lib/setup.c @@ -2143,7 +2143,8 @@ static int _crypt_format_integrity(struct crypt_device *cd, const char *uuid, struct crypt_params_integrity *params) { - int r, integrity_tag_size; + int r; + uint32_t integrity_tag_size; char *integrity = NULL, *journal_integrity = NULL, *journal_crypt = NULL; struct volume_key *journal_crypt_key = NULL, *journal_mac_key = NULL;