Skip to content

Commit

Permalink
Suppress overzealous compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanrueger committed Dec 20, 2023
1 parent 67792ca commit 06156d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static int cmp_pgmid(const void *a, const void *b) {
}

static int suggest_programmers(const char *programmer, LISTID programmers) {
const int max_distance = 64; // Don't show suggestions if they are way far out
const size_t max_distance = 64; // Don't show suggestions if they are way far out

int nid = 0; // Number of possible programmer ids
for(LNODEID ln1 = lfirst(programmers); ln1; ln1 = lnext(ln1)) {
Expand Down

0 comments on commit 06156d9

Please sign in to comment.