From 84a3445010d908a0d0a0195496dedbc6eb3aa9d4 Mon Sep 17 00:00:00 2001 From: Ondrej Čerman Date: Sat, 11 Sep 2021 22:17:26 +0200 Subject: ppc64 - fixed smart info and resolved compilation warnings --- hardinfo/udisks2_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo') diff --git a/hardinfo/udisks2_util.c b/hardinfo/udisks2_util.c index 83f1abc9..c45b8f8d 100644 --- a/hardinfo/udisks2_util.c +++ b/hardinfo/udisks2_util.c @@ -474,7 +474,7 @@ gchar* get_udisks2_smart_attributes(udiskd* dsk, const char *drivepath){ GError *error = NULL; const char* aidenf; guint8 aid; - gint16 avalue, aworst, athreshold, pretty_unit; + gint32 avalue, aworst, athreshold, pretty_unit; gint64 pretty; udisksa *lastp = NULL, *p; -- cgit v1.2.3