$NetBSD: patch-af,v 1.1 2005/04/06 21:51:13 xtraeme Exp $ --- ../charset/mimeenc.c.orig 2005-04-06 23:14:37.000000000 +0200 +++ ../charset/mimeenc.c 2005-04-06 23:14:57.000000000 +0200 @@ -197,7 +197,7 @@ p = name; q = mimeencs[i].name; while (*p || *q) { - if (tolower(*p) != tolower(*q)) + if (tolower((int)*p) != tolower((int)*q)) break; p++; q++; }