mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
8765e9f5e7
commit
dd42ebef94
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
if (out[i] != 0) {
|
||||
if (tp > (uint8_t *)buf) {
|
||||
if (tp > buf) {
|
||||
in_v6_break = 0;
|
||||
tp[0] = ':';
|
||||
tp++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue