From abccc1fc3e385d4e5dae8b52644e0da4ef086679 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Mon, 6 Apr 2009 09:10:12 -0300 Subject: Small fixes --- hardinfo2/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2/util.c') 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)) -- cgit v1.2.3