On 3/4/22 05:21, Bruno Haible wrote:
Paul, do you agree that it's a good idea to add an explicit cast, to avoid implicit conversion from 'unsigned char' to 'char'?
As you noted, there's no language reason to do it. It would be a change put in only to pacify Clang, in an area where Clang is buggy. So I'd leave the code alone and would use clang's -fno-sanitize-recover to work around the Clang bug. It might also help to file a bug report with the Clang folks.
