summaryrefslogtreecommitdiffstats
path: root/x11vnc/v4l.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/v4l.c')
-rw-r--r--x11vnc/v4l.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/v4l.c b/x11vnc/v4l.c
index 38ab5cb..9209a3f 100644
--- a/x11vnc/v4l.c
+++ b/x11vnc/v4l.c
@@ -1471,7 +1471,7 @@ static void init_freqtab(char *file) {
if (*q == ']') {
break;
}
- if (! isdigit(*q)) {
+ if (! isdigit((unsigned char) (*q))) {
if (0) fprintf(stderr, "extra: %s\n", p);
extra++;
ok = 0;
@@ -1508,7 +1508,7 @@ static void init_freqtab(char *file) {
if (*q == ']') {
break;
}
- if (! isdigit(*q)) {
+ if (! isdigit((unsigned char) (*q))) {
extra++;
currn = maxn + extra;
ok = 0;