[gnome-software/1935-firmware-updates-are-hidden-if-they-require-the-laptop-lid-to-be-open] fwupd app
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1935-firmware-updates-are-hidden-if-they-require-the-laptop-lid-to-be-open] fwupd app
- Date: Wed, 12 Oct 2022 15:19:14 +0000 (UTC)
commit 49825cbeba4202b253ce102a3bddf8b924ca6a6a
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Oct 12 15:19:12 2022 +0000
fwupd app
plugins/fwupd/gs-fwupd-app.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/fwupd/gs-fwupd-app.c b/plugins/fwupd/gs-fwupd-app.c
index e72f318e7..7cba4d341 100644
--- a/plugins/fwupd/gs-fwupd-app.c
+++ b/plugins/fwupd/gs-fwupd-app.c
@@ -171,7 +171,7 @@ gs_fwupd_app_set_from_device (GsApp *app,
#if FWUPD_CHECK_VERSION(1, 8, 1)
if (fwupd_device_get_problems (dev) != FWUPD_DEVICE_PROBLEM_NONE) {
g_autoptr(GString) problems = g_string_new (NULL);
- for (guint i = 0; i < 64; i++) {
+ for (guint i = 0; i < sizeof (FwupdDeviceProblem) * 8; i++) {
FwupdDeviceProblem problem = 1ull << i;
g_autofree gchar *tmp = NULL;
if (!fwupd_device_has_problem (dev, problem))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]