Преглед изворни кода

Unify type of in for loops

Aaron Marcher пре 7 година
родитељ
комит
7ab183c97f
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      components/battery.c

+ 2 - 1
components/battery.c

@@ -77,7 +77,8 @@
 	const char *
 	battery_state(const char *bat)
 	{
-		int fd, i;
+		int fd;
+		size_t i;
 		struct apm_power_info apm_info;
 		struct {
 			unsigned int state;