Unify type of i in for loops

int for normal indexes
size_t for usage with the LEN macro
This commit is contained in:
Aaron Marcher
2018-05-17 17:40:11 +02:00
parent f9609f4ff4
commit 7be675f154
2 changed files with 3 additions and 4 deletions

View File

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