summaryrefslogtreecommitdiff
path: root/apps/plugins/battery_bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r--apps/plugins/battery_bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c
index a4da7f4bb5..53dd5be4c0 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
@@ -459,7 +459,7 @@ int main(void)
459#endif 459#endif
460 "\n" 460 "\n"
461 ,BATTERY_LOG,rb->global_settings->battery_capacity, 461 ,BATTERY_LOG,rb->global_settings->battery_capacity,
462 BUF_SIZE / sizeof(struct batt_info)); 462 BUF_SIZE / (unsigned)sizeof(struct batt_info));
463 rb->close(fd); 463 rb->close(fd);
464 } 464 }
465 else 465 else