]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: tree-wide: cast arguments to tolower/toupper to unsigned char
authorWilly Tarreau <w@1wt.eu>
Sun, 5 Jul 2020 19:46:32 +0000 (21:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 5 Jul 2020 19:50:02 +0000 (21:50 +0200)
commitf278eec37aa2d4de028ade89951af9f894ee4d87
tree86788a80dae7f7bfba1348a67351a458d35a2753
parentb0be8ae2a89b34323df83a7fc4ab68c0cae96398
BUILD: tree-wide: cast arguments to tolower/toupper to unsigned char

NetBSD apparently uses macros for tolower/toupper and complains about
the use of char for array subscripts. Let's properly cast all of them
to unsigned char where they are used.

This is needed to fix issue #729.
src/dns.c
src/h1.c
src/pattern.c
src/regex.c
src/ssl_sock.c
src/tools.c