]> Dogcows Code - chaz/openbox/commitdiff
kill some warnings
authorDana Jansens <danakj@orodu.net>
Tue, 12 Aug 2003 17:50:00 +0000 (17:50 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 12 Aug 2003 17:50:00 +0000 (17:50 +0000)
render/theme.c

index 51a227031bcb89f320201f63221037a8e49747ae..943f690356d0559867ea69ab349ed2c5bf2a4eff 100644 (file)
@@ -398,8 +398,8 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
     }
 
     if (!read_mask(inst, "bullet.xbm", theme, &theme->menu_bullet_mask)) {
-        char data[] = { 0x18, 0x30, 0x60, 0xfe, 0xfe, 0x60, 0x30, 0x18 };
-        theme->menu_bullet_mask = RrPixmapMaskNew(inst, 8, 8, data);
+        guchar data[] = { 0x18, 0x30, 0x60, 0xfe, 0xfe, 0x60, 0x30, 0x18 };
+        theme->menu_bullet_mask = RrPixmapMaskNew(inst, 8, 8, (char*)data);
     }
 
     /* read the decoration textures */
This page took 0.026685 seconds and 4 git commands to generate.