Fix compilation of `libguile-i18n' on NetBSD.
authorLudovic Courtès <ludo@gnu.org>
Tue, 2 Sep 2008 21:01:47 +0000 (23:01 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 2 Sep 2008 21:01:47 +0000 (23:01 +0200)
commit4e641322d3dc2b47677c87de3a32f8469431cf74
tree628eebca4337602ccc0e2724337962e7bee06a83
parent37a52039553b08c568e596852a871e59948ebfa6
Fix compilation of `libguile-i18n' on NetBSD.

* libguile/i18n.c (str_upcase, str_downcase, scm_char_locale_downcase,
  scm_char_locale_upcase): Cast chars to `int' when invoking `toupper ()'
  et al. to avoid "array subscript has type 'char'" on NetBSD.
  Reported by Greg Toxel <gdt@ir.bbn.com>.
libguile/i18n.c