clang-tidy(WIP): bugprone-signed-char-misuse findings 1

Desktop / LibreOffice - Tamás Zolnai [collabora.com] - 7 December 2019 21:14 EST

Use unsigned char conversion instead of adding 256 to negativ values. See also: SEI CERT STR34-C.

Change-Id: I9a167a8993505052f9ee4f41191fbe80ee1ab0eb Reviewed-on: https://gerrit.libreoffice.org/84688

85b5253492cd clang-tidy(WIP): bugprone-signed-char-misuse findings 1
connectivity/source/drivers/hsqldb/HStorageAccess.cxx | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share