Explorar el Código

Unify type of in for loops

Aaron Marcher hace 7 años
padre
commit
7ab183c97f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;