Drop useless and not quite correct cast (GH-17454)

A while ago, the cast has been changed from `u_char *` to `uint8_t *`,
but neither makes sense, and causes Clang to complain with
`-Wcompare-distinct-pointer-types`.
This commit is contained in:
Christoph M. Becker 2025-01-17 17:56:52 +01:00 committed by GitHub
parent 8765e9f5e7
commit dd42ebef94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -260,7 +260,7 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, bool raw
for(i=0; i < 8; i++) { for(i=0; i < 8; i++) {
if (out[i] != 0) { if (out[i] != 0) {
if (tp > (uint8_t *)buf) { if (tp > buf) {
in_v6_break = 0; in_v6_break = 0;
tp[0] = ':'; tp[0] = ':';
tp++; tp++;