$NetBSD: patch-ac,v 1.1 2008/11/17 13:30:34 ahoka Exp $ --- command_mode.c.orig 2007-07-27 16:52:13.000000000 +0200 +++ command_mode.c @@ -495,7 +495,7 @@ inside: goto err; if (count == 1) { - switch (tolower(*arg)) { + switch (tolower((unsigned char)*arg)) { case 'h': seek *= 60; case 'm':