Skip to content

Commit 5261d36

Browse files
committed
correctly shift 64 bit values
1 parent 49c3f2a commit 5261d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/version_sorter/version_sorter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ parse_version_number(const char *string)
138138
version->comp[comp_n].string.len = offset - start;
139139
} else {
140140
version->comp[comp_n].number = number;
141-
num_flags |= (1 << comp_n);
141+
num_flags |= (1ull << comp_n);
142142
}
143143
comp_n++;
144144
continue;

0 commit comments

Comments
 (0)