From 1c27131fc68f6c8810e2371712f5b47169237e49 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 22 Sep 2022 14:22:58 +0100 Subject: [PATCH] trivial: Style nit Co-authored-by: Mario Limonciello --- libfwupdplugin/fu-firmware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfwupdplugin/fu-firmware.c b/libfwupdplugin/fu-firmware.c index 587dd83cc..56ed9504a 100644 --- a/libfwupdplugin/fu-firmware.c +++ b/libfwupdplugin/fu-firmware.c @@ -2001,7 +2001,7 @@ fu_firmware_new_from_gtypes(GBytes *fw, FwupdInstallFlags flags, GError **error, /* create array of GTypes */ va_start(args, error); - while (1) { + while (TRUE) { GType gtype = va_arg(args, GType); if (gtype == G_TYPE_INVALID) break;