[Pkg-wmaker-commits] [wmifs] 82/118: wmifs: Fix "overflow in implicit constant conversion" compiler warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 27 02:37:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmifs.
commit 9e80f3cd3531e1efd3a687ff30c0fbc58ba52523
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Wed May 27 17:33:16 2015 -0500
wmifs: Fix "overflow in implicit constant conversion" compiler warnings.
---
wmifs-mask.xbm | 2 +-
wmifs.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmifs-mask.xbm b/wmifs-mask.xbm
index 8599f49..9b0c27e 100644
--- a/wmifs-mask.xbm
+++ b/wmifs-mask.xbm
@@ -1,6 +1,6 @@
#define wmifs_mask_width 64
#define wmifs_mask_height 64
-static char wmifs_mask_bits[] = {
+static unsigned char wmifs_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,
diff --git a/wmifs.c b/wmifs.c
index 9c56f63..0bb0e89 100644
--- a/wmifs.c
+++ b/wmifs.c
@@ -442,7 +442,7 @@ void wmifs_routine(int argc, char **argv)
parse_rcfile("/etc/wmifsrc.fixed", wmifs_keys);
- openXwindow(argc, argv, wmifs_master_xpm, wmifs_mask_bits, wmifs_mask_width, wmifs_mask_height);
+ openXwindow(argc, argv, wmifs_master_xpm, (char*)wmifs_mask_bits, wmifs_mask_width, wmifs_mask_height);
/* > Button */
AddMouseRegion(0, 5, 5, 35, 15);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmifs.git
More information about the Pkg-wmaker-commits
mailing list