[Pkg-wmaker-commits] [wmsun] 27/73: wmsun: Fix "overflow in implicit constant conversion" compiler warning.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Aug 28 12:04:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmsun.
commit f7a8610eb9fd5f65a38aa8d863db16bee38ed4c0
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Sun Jun 14 17:04:42 2015 -0500
wmsun: Fix "overflow in implicit constant conversion" compiler warning.
---
wmSun.c | 2 +-
wmSun_mask.xbm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmSun.c b/wmSun.c
index 4e7094a..882bfca 100644
--- a/wmSun.c
+++ b/wmSun.c
@@ -147,7 +147,7 @@ int main(int argc, char *argv[]) {
- openXwindow(argc, argv, wmSun_master, wmSun_mask_bits, wmSun_mask_width, wmSun_mask_height);
+ openXwindow(argc, argv, wmSun_master, (char *)wmSun_mask_bits, wmSun_mask_width, wmSun_mask_height);
diff --git a/wmSun_mask.xbm b/wmSun_mask.xbm
index f334241..0ebec55 100644
--- a/wmSun_mask.xbm
+++ b/wmSun_mask.xbm
@@ -1,6 +1,6 @@
#define wmSun_mask_width 64
#define wmSun_mask_height 64
-static char wmSun_mask_bits[] = {
+static unsigned char wmSun_mask_bits[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x07,0xf0,0xff,0xff,0xff,0xff,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmsun.git
More information about the Pkg-wmaker-commits
mailing list