diff options
Diffstat (limited to 'comms/asterisk18/patches/patch-main_conversions.c')
-rw-r--r-- | comms/asterisk18/patches/patch-main_conversions.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/asterisk18/patches/patch-main_conversions.c b/comms/asterisk18/patches/patch-main_conversions.c new file mode 100644 index 00000000000..a8c9aab7b00 --- /dev/null +++ b/comms/asterisk18/patches/patch-main_conversions.c @@ -0,0 +1,13 @@ +$NetBSD: patch-main_conversions.c,v 1.1.1.1 2021/06/13 07:47:18 jnemeth Exp $ + +--- main/conversions.c.orig 2021-03-04 16:46:08.000000000 +0000 ++++ main/conversions.c +@@ -37,7 +37,7 @@ static int str_is_negative(const char ** + * Ignore any preceding white space. It's okay to move the pointer here + * since the converting function would do the same, i.e. skip white space. + */ +- while (isspace(**str)) ++*str; ++ while (isspace((unsigned char)**str)) ++*str; + return **str == '-'; + } + |