=================================================================== RCS file: /cvs/mandoc/tbl_opts.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -p -r1.8 -r1.9 --- mandoc/tbl_opts.c 2011/01/09 05:38:23 1.8 +++ mandoc/tbl_opts.c 2011/03/15 16:23:51 1.9 @@ -1,4 +1,4 @@ -/* $Id: tbl_opts.c,v 1.8 2011/01/09 05:38:23 joerg Exp $ */ +/* $Id: tbl_opts.c,v 1.9 2011/03/15 16:23:51 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -188,7 +188,7 @@ again: /* /* Copy up to first non-alpha character. */ for (sv = *pos, i = 0; i < KEY_MAXNAME; i++, (*pos)++) { - buf[i] = tolower((unsigned char)p[*pos]); + buf[i] = (char)tolower((unsigned char)p[*pos]); if ( ! isalpha((unsigned char)buf[i])) break; }