Skip to content

Fix build on 32-bit platforms#124

Merged
Mic92 merged 5 commits intoMic92:masterfrom
lopsided98:32-bit
Jun 13, 2022
Merged

Fix build on 32-bit platforms#124
Mic92 merged 5 commits intoMic92:masterfrom
lopsided98:32-bit

Conversation

@lopsided98
Copy link
Copy Markdown
Contributor

Makes cntr build on 32-bit platforms. nix doesn't support 64-bit file offsets on 32-bit platforms, so this involves some truncating casts that will cause things to misbehave with large files.

I have built this for armv7l, i686 and x86_64 and tested it on armv7l.

lopsided98 and others added 5 commits June 12, 2022 18:34
nix doesn't support 64-bit file offsets on 32-bit platforms, so this involves
some truncating casts that will cause things to misbehave with large files.
@Mic92 Mic92 merged commit 9426328 into Mic92:master Jun 13, 2022
@lopsided98 lopsided98 deleted the 32-bit branch June 13, 2022 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants