From 6e4034a92dc77d3d8100c71abbb58308f8f572e3 Mon Sep 17 00:00:00 2001 From: Jonathan <74002342+jd-imi@users.noreply.github.com> Date: Fri, 27 Sep 2024 00:06:09 +0200 Subject: [PATCH] Fixed a warning emitted from arm-none-eabi-gcc in hostnport.c (#785) --- src/bacnet/hostnport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bacnet/hostnport.c b/src/bacnet/hostnport.c index 748118c3..c12ae14a 100644 --- a/src/bacnet/hostnport.c +++ b/src/bacnet/hostnport.c @@ -708,7 +708,7 @@ bool bacnet_bdt_entry_from_ascii(BACNET_BDT_ENTRY *value, const char *argv) p = 0xBAC0U; } name = argv; - if (name && isalnum(name[0])) { + if (name && isalnum((unsigned char)name[0])) { value->bbmd_address.host_ip_address = false; value->bbmd_address.host_name = true; characterstring_init(