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;