aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/util.c')
-rw-r--r--hardinfo2/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/util.c b/hardinfo2/util.c
index 924b9b45..266ce4eb 100644
--- a/hardinfo2/util.c
+++ b/hardinfo2/util.c
@@ -1127,7 +1127,7 @@ gint
h_sysfs_read_int(gchar *endpoint, gchar *entry)
{
gchar *tmp, *buffer;
- gint return_value = 0.0f;
+ gint return_value = 0;
tmp = g_build_filename(endpoint, entry, NULL);
if (g_file_get_contents(tmp, &buffer, NULL, NULL))