mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
It's unsigned on ARMv7. Unsigned char cannot represent negative values.
GCC 6 complains about it:
narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
This can be reproduced with older GCC or by:
./configure CXXFLAGS='-Wnarrowing -funsigned-char'
This patch casts the negative values explicitly because changing the
type to signed char[] would change prototypes of public methods.
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||
|---|---|---|
| .. | ||
| libzpaq.3.pod | ||
| libzpaq.cpp | ||
| libzpaq.h | ||