summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm/patches/patch-al
blob: 2ffd334ec4d17d7bd15ee542e09fcd75abf0aeb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-al,v 1.1 2005/03/22 14:57:12 cube Exp $

--- src/sensors.c.orig	2005-03-20 18:29:30.000000000 +0100
+++ src/sensors.c
@@ -2541,7 +2541,7 @@ sensors_apply(void)
 	if (mbmon_port_entry)
 		{
 		str = gkrellm_gtk_entry_get_text(&mbmon_port_entry);
-		if (isdigit(*str))
+		if (isdigit((unsigned char)*str))
 			{
 			port = atoi(str);
 			if (_GK.mbmon_port != port)