35aae747d2
Changelog: 2021/08/13: Change directory structure : include/ and src/ directories.
15 lines
383 B
C
15 lines
383 B
C
$NetBSD: patch-upnpc.c,v 1.2 2022/04/11 10:04:38 nikita Exp $
|
|
|
|
ctype arguments must be unsigned char.
|
|
|
|
--- src/upnpc.c.orig 2020-11-09 19:43:35.000000000 +0000
|
|
+++ src/upnpc.c
|
|
@@ -53,7 +53,7 @@ int is_int(char const* s)
|
|
return 0;
|
|
while(*s) {
|
|
/* #define isdigit(c) ((c) >= '0' && (c) <= '9') */
|
|
- if(!isdigit(*s))
|
|
+ if(!isdigit((unsigned char)*s))
|
|
return 0;
|
|
s++;
|
|
}
|