Skip to content

Commit

Permalink
bee-dep: graph.c: change type of variable to size_t since strlen retu…
Browse files Browse the repository at this point in the history
…rns size_t

discovered with compiler flag -Wextra
  • Loading branch information
Matthias Ruester committed Jan 26, 2012
1 parent 2d271ec commit 929aa94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ void print_broken(struct hash *hash, char *remove)

void sort_dirs(char **dirs, int dir_cnt)
{
int i, j, c;
int i, j;
size_t c;
char *h;

for (i = 1; i < dir_cnt; i++) {
Expand Down

0 comments on commit 929aa94

Please sign in to comment.