summaryrefslogtreecommitdiff
path: root/t/t4135/add-with quote.diff
diff options
context:
space:
mode:
authorLibravatar Torsten Bögershausen <tboegi@web.de>2018-10-25 18:13:08 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-26 11:20:01 +0900
commit3063477445423fd5ec52efa073fb8d15c1641f4e (patch)
tree74f8bcf47c281305d24597044feed78c8f452046 /t/t4135/add-with quote.diff
parentGit 2.17.2 (diff)
downloadtgif-3063477445423fd5ec52efa073fb8d15c1641f4e.tar.xz
path.c: char is not (always) signed
If a "char" in C is signed or unsigned is not specified, because it is out of tradition "implementation dependent". Therefore constructs like "if (name[i] < 0)" are not portable, use "if (name[i] & 0x80)" instead. Detected by "gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516" when setting DEVELOPER = 1 DEVOPTS = extra-all Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4135/add-with quote.diff')
0 files changed, 0 insertions, 0 deletions