aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_sensors_temp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_sensors_temp.c')
-rw-r--r--src/gallium/auxiliary/hud/hud_sensors_temp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/hud/hud_sensors_temp.c b/src/gallium/auxiliary/hud/hud_sensors_temp.c
index b912a4ea7a8..4d3a11b1c9c 100644
--- a/src/gallium/auxiliary/hud/hud_sensors_temp.c
+++ b/src/gallium/auxiliary/hud/hud_sensors_temp.c
@@ -165,19 +165,19 @@ query_sti_load(struct hud_graph *gr)
switch (sti->mode) {
case SENSORS_TEMP_CURRENT:
- hud_graph_add_value(gr, (uint64_t) sti->current);
+ hud_graph_add_value(gr, sti->current);
break;
case SENSORS_TEMP_CRITICAL:
- hud_graph_add_value(gr, (uint64_t) sti->critical);
+ hud_graph_add_value(gr, sti->critical);
break;
case SENSORS_VOLTAGE_CURRENT:
- hud_graph_add_value(gr, (uint64_t)(sti->current * 1000));
+ hud_graph_add_value(gr, sti->current * 1000);
break;
case SENSORS_CURRENT_CURRENT:
- hud_graph_add_value(gr, (uint64_t) sti->current);
+ hud_graph_add_value(gr, sti->current);
break;
case SENSORS_POWER_CURRENT:
- hud_graph_add_value(gr, (uint64_t) sti->current);
+ hud_graph_add_value(gr, sti->current);
break;
}