From 14f23fb664d5d90b47a7a3102b3bd929faa0491d Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Fri, 21 Mar 2008 23:17:37 +0000 Subject: [PATCH] fixing warning git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1024 7f574dfc-610e-0410-a909-a81674777703 --- src/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux.c b/src/linux.c index 61af9518..a6eb0cc1 100644 --- a/src/linux.c +++ b/src/linux.c @@ -785,7 +785,7 @@ int open_sysfs_sensor(const char *dir, const char *dev, const char *type, int n, if (divfd > 0) { /* read integer */ char divbuf[64]; - unsigned int divn; + int divn; divn = read(divfd, divbuf, 63); /* should read until n == 0 but I doubt that kernel will give these