• Johannes's avatar
    Fix build failure on 32-bit machines · a769e80e
    Johannes authored
    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.
    a769e80e
Name
Last commit
Last update
.github Loading commit data...
assets/osx/Alacritty.app/Contents Loading commit data...
copypasta Loading commit data...
docs Loading commit data...
font Loading commit data...
res Loading commit data...
scripts Loading commit data...
snap Loading commit data...
src Loading commit data...
tests Loading commit data...
.agignore Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
Cargo.lock Loading commit data...
Cargo.toml Loading commit data...
LICENSE-APACHE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
alacritty-completions.bash Loading commit data...
alacritty-completions.fish Loading commit data...
alacritty-completions.zsh Loading commit data...
alacritty.desktop Loading commit data...
alacritty.info Loading commit data...
alacritty.man Loading commit data...
alacritty.yml Loading commit data...
alacritty_macos.yml Loading commit data...
build.rs Loading commit data...