diff options
author | Johannes <jnbr_github@jnbr.me> | 2018-09-20 02:04:07 +0200 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-09-20 00:04:07 +0000 |
commit | a769e80eb4383b4c4a274c5ad192958961122d09 (patch) | |
tree | f36e38dc4d961132d7c29c5b0dcbea6be04b6dd6 /CHANGELOG.md | |
parent | 26c4043aafbc88d4aaab010fec8c73e42add9df4 (diff) | |
download | alacritty-a769e80eb4383b4c4a274c5ad192958961122d09.tar.gz alacritty-a769e80eb4383b4c4a274c5ad192958961122d09.zip |
Fix build failure on 32-bit machines
Alacritty has some checks in place to make sure that unsafe
code would not fail because of invalid struct sizes. This managed
to successfully catch an incorrect unsafe block on 32-bit machines.
To make sure this block works on both 32-bit and 64-bit systems,
it has been altered to make use of the platform-dependent `usize`
type. This will always make use of correct sizes without having to
rely on conditional compilation.
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions