summaryrefslogtreecommitdiff
path: root/audio/cmus/patches/patch-ad
blob: cf0fc48a75c50098b6ece0d6d080c88662b74ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1 2008/11/17 13:30:34 ahoka Exp $

--- filters.c.orig	2007-07-27 16:52:13.000000000 +0200
+++ filters.c
@@ -272,7 +272,7 @@ static int validate_filter_name(const ch
 	int i;
 
 	for (i = 0; name[i]; i++) {
-		if (isalnum(name[i]))
+		if (isalnum((unsigned char)name[i]))
 			continue;
 		if (name[i] == '_' || name[i] == '-')
 			continue;