From: Jean-Philippe Orsini Date: Fri, 19 Sep 2014 08:12:49 +0000 (+0200) Subject: value must be a double, not a flaot X-Git-Tag: v1.1.2~36 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=effd4e582779de1774f78375c471d25e08943276 value must be a double, not a flaot --- diff --git a/src/lib/hdd_hddtemp.c b/src/lib/hdd_hddtemp.c index 17a1642..65964a1 100644 --- a/src/lib/hdd_hddtemp.c +++ b/src/lib/hdd_hddtemp.c @@ -230,7 +230,7 @@ static void update(struct psensor **sensors, struct hdd_info *info) && (*sensor_cur)->type & SENSOR_TYPE_HDDTEMP && !strcmp((*sensor_cur)->id + 8, info->name)) psensor_set_current_value(*sensor_cur, - (float)info->temp); + (double)info->temp); sensor_cur++; }