summaryrefslogtreecommitdiff
path: root/src/gpm-upower.c
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-10-24 19:56:51 +0800
committerraveit65 <[email protected]>2023-11-06 12:56:20 +0100
commit688ec2f47167fcca1c3e14854b69640479422794 (patch)
tree4f4f2a806da2dca2bfc13aea2a74fa0a08fdb4a4 /src/gpm-upower.c
parent9a8cfd772538539776654401d7a1293595405c90 (diff)
downloadmate-power-manager-688ec2f47167fcca1c3e14854b69640479422794.tar.bz2
mate-power-manager-688ec2f47167fcca1c3e14854b69640479422794.tar.xz
Remove compilation warning fix data type format error
Diffstat (limited to 'src/gpm-upower.c')
-rw-r--r--src/gpm-upower.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpm-upower.c b/src/gpm-upower.c
index 7311936..995f921 100644
--- a/src/gpm-upower.c
+++ b/src/gpm-upower.c
@@ -534,7 +534,7 @@ gpm_device_kind_to_localised_string (UpDeviceKind kind, guint number)
text = ngettext ("Gaming input", "Gaming inputs", number);
break;
default:
- g_warning ("enum unrecognised: %i", kind);
+ g_warning ("enum unrecognised: %u", kind);
text = up_device_kind_to_string (kind);
}
return text;
@@ -582,7 +582,7 @@ gpm_device_kind_to_icon (UpDeviceKind kind)
icon = "computer-apple-ipad";
break;
default:
- g_warning ("enum unrecognised: %i", kind);
+ g_warning ("enum unrecognised: %u", kind);
icon = "gtk-help";
}
return icon;