Skip to content

Commit

Permalink
correctly shift 64 bit values
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk authored and mislav committed Jan 29, 2018
1 parent 7df1df2 commit ccc5f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/version_sorter/version_sorter.c
Expand Up @@ -138,7 +138,7 @@ parse_version_number(const char *string)
version->comp[comp_n].string.len = offset - start;
} else {
version->comp[comp_n].number = number;
num_flags |= (1 << comp_n);
num_flags |= (1ull << comp_n);
}
comp_n++;
continue;
Expand Down

0 comments on commit ccc5f59

Please sign in to comment.