mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-14 14:42:22 -04:00
argument to tolower() cast to unsigned char
This commit is contained in:
parent
8b61d20120
commit
fc024be774
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rdata.c,v 1.86 2000/05/08 16:12:23 tale Exp $ */
|
||||
/* $Id: rdata.c,v 1.87 2000/05/09 12:07:32 tale Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -751,7 +751,7 @@ dns_rdataclass_fromtext(dns_rdataclass_t *classp, isc_textregion_t *source) {
|
|||
return (ISC_R_SUCCESS); \
|
||||
}
|
||||
|
||||
switch (tolower(source->base[0])) {
|
||||
switch (tolower((unsigned char)source->base[0])) {
|
||||
case 'a':
|
||||
COMPARE("any", META, dns_rdataclass_any);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue