Skip to content

not longer 32-bit compatible #327

@fdopen

Description

@fdopen

containers doesn't compile any longer on 32-bit systems:

let b = b - ((b lsr 1) land 0x5555555555555555) in
let b = (b land 0x3333333333333333) + ((b lsr 2) land 0x3333333333333333) in
let b = (b + (b lsr 4)) land 0x0f0f0f0f0f0f0f0f in

# File "src/core/CCInt.ml", line 343, characters 30-48:
# 343 |   let b = b - ((b lsr 1) land 0x5555555555555555) in
# 
# Error: Integer literal exceeds the range of representable integers of type int

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions