diff audacious/widgets/textbox.c @ 1717:837983bac90f trunk

[svn] Fixed a lot of warnings that only showed up on *BSD.
author js
date Sat, 16 Sep 2006 16:26:54 -0700
parents a6e6d3500c13
children c9032deca2fd
line wrap: on
line diff
--- a/audacious/widgets/textbox.c	Sat Sep 16 15:21:56 2006 -0700
+++ b/audacious/widgets/textbox.c	Sat Sep 16 16:26:54 2006 -0700
@@ -449,7 +449,7 @@
     for (i = 0; i < length; i++) {
         gchar c;
         x = y = -1;
-        c = toupper(pixmaptext[i]);
+        c = toupper((int) pixmaptext[i]);
         if (c >= 'A' && c <= 'Z') {
             x = 5 * (c - 'A');
             y = 0;