]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fixes decompressor when using -Wshorten-64-to-32 (#2062)
authorCarl Woffenden <cwoffenden@gmail.com>
Fri, 3 Apr 2020 09:55:29 +0000 (11:55 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Apr 2020 09:55:29 +0000 (02:55 -0700)
commit7202184ee0f6aaf859bb76364e9372453fb53298
tree668ae43c8f82eaaea8a90cac1a1a06b49503cfc9
parent16654625738d26ea8344eb4fb615bcbffd30b7f0
Fixes decompressor when using -Wshorten-64-to-32 (#2062)

Spotted on iOS when building with `-Wshorten-64-to-32` (since `__builtin_expect` returns a `long`).
lib/decompress/huf_decompress.c