Unify type of i
in for loops
int for normal indexes size_t for usage with the LEN macro
This commit is contained in:
parent
f9609f4ff4
commit
7be675f154
2 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue