ProtonMail / gluon

An IMAP server library written in Go
MIT License
455 stars 27 forks source link

32 bit support #382

Closed benthetechguy closed 1 year ago

benthetechguy commented 1 year ago

The file limits/imap.go uses MaxUint32 which is too big for the int type on 32 bits and causes builds on those architectures to fail. This seems to be a known issue based on proton-bridge's BUILDS.md file, but I don't see any effort made to solve it. Is this specific number required, or can something else 32-bit-friendly be used?

LBeernaertProton commented 1 year ago

For bridge related questions/issues please open an issue in the Proton Bridge Issue Tracker.

Regarding Gluon side, 32bit support is not a priority for us. I'm happy to provide assistance if you wish to address these issues in a pull request.

For this particular case, it would suffice to change the data type to a 32bit unsigned integer if that is currently not the case.