diff options
Diffstat (limited to 'comms/asterisk18/patches/patch-main_app.c')
-rw-r--r-- | comms/asterisk18/patches/patch-main_app.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/asterisk18/patches/patch-main_app.c b/comms/asterisk18/patches/patch-main_app.c new file mode 100644 index 00000000000..1160e50a59a --- /dev/null +++ b/comms/asterisk18/patches/patch-main_app.c @@ -0,0 +1,13 @@ +$NetBSD: patch-main_app.c,v 1.1.1.1 2021/06/13 07:47:18 jnemeth Exp $ + +--- main/app.c.orig 2018-05-07 17:23:29.870389813 +0000 ++++ main/app.c +@@ -3085,7 +3085,7 @@ int ast_app_parse_timelen(const char *ti + break; + case 'm': + case 'M': +- if (toupper(u[1]) == 'S') { ++ if (toupper((unsigned char)u[1]) == 'S') { + unit = TIMELEN_MILLISECONDS; + if (u[2] != '\0') { + return -1; |