summaryrefslogtreecommitdiffstats
path: root/src/gsm/gsm_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm/gsm_utils.c')
-rw-r--r--src/gsm/gsm_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/gsm_utils.c b/src/gsm/gsm_utils.c
index 5a4ceb36..61d3f833 100644
--- a/src/gsm/gsm_utils.c
+++ b/src/gsm/gsm_utils.c
@@ -596,7 +596,7 @@ const char *gsm_band_name(enum gsm_band band)
/*! Parse string name of a GSM band */
enum gsm_band gsm_band_parse(const char* mhz)
{
- while (*mhz && !isdigit(*mhz))
+ while (*mhz && !isdigit((unsigned char)*mhz))
mhz++;
if (*mhz == '\0')