com php-src: Fix unsigned char mismatch: ext/standard/php_dns .h

From: Date: Wed, 12 Jun 2019 12:58:06 +0000
Subject: com php-src: Fix unsigned char mismatch: ext/standard/php_dns .h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106732@lists.php.net to get a copy of this message
Commit: 6fcb469991248b3f67f618ed7033465197ccfcda Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 12 Jun 2019 14:58:06 +0200 Parents: 8f63e7e324c84319919f0f87eaa2505c5c4f512d Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6fcb469991248b3f67f618ed7033465197ccfcda Log: Fix unsigned char mismatch Changed paths: M ext/standard/php_dns.h Diff: diff --git a/ext/standard/php_dns.h b/ext/standard/php_dns.h index b6272a4..47c1e3a 100644 --- a/ext/standard/php_dns.h +++ b/ext/standard/php_dns.h @@ -23,7 +23,7 @@ #if defined(HAVE_DNS_SEARCH) #define php_dns_search(res, dname, class, type, answer, anslen) \ - ((int)dns_search(res, dname, class, type, answer, anslen, (struct sockaddr *)&from, &fromsize)) + ((int)dns_search(res, dname, class, type, (char *) answer, anslen, (struct sockaddr *)&from, &fromsize)) #define php_dns_free_handle(res) \ dns_free(res)

« previous php.cvs (#106732) next »