diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2015-12-31 14:19:30 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-01-04 05:05:28 +0100 |
commit | 88f348f2b15fed8a7b92085d01ffeced117f3599 (patch) | |
tree | 76624059ea37befbf7b5dc3638b1d995463a7e12 /lib/libalpm/po/el.po | |
parent | 875c017e4d74bd29bc7424c2c7ff2050f90b7767 (diff) | |
download | pacman-88f348f2b15fed8a7b92085d01ffeced117f3599.tar.gz pacman-88f348f2b15fed8a7b92085d01ffeced117f3599.tar.xz |
pacsort, introduce define for escape_char error code
The signedness of char is implementation defined. On systems where
char is unsigned, comparing a variable of type char with -1 is never
true, due to integer promotion rules. To avoid this, introduce a
define for invalid field separators where -1 is cast to char. This will
ensure that the return value check works for both unsigned and signed char.
Fixes one warning [-Wtype-limits] for comparissons with -1 when compiling
with -funsigned-char.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po/el.po')
0 files changed, 0 insertions, 0 deletions