aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/ht_icon
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@axiomatics.org>2016-01-24 15:27:30 -0800
committerGabriel Dos Reis <gdr@axiomatics.org>2016-01-24 15:27:30 -0800
commitffe9a032601ffb59a10141bce13b4322a1584e87 (patch)
tree275657b9910b7165aac7c08665cd38062bd77e9e /src/hyper/ht_icon
parentc8d6a86fcc61c4bee855fc2cfa2ae7338f2084f8 (diff)
downloadopen-axiom-ffe9a032601ffb59a10141bce13b4322a1584e87.tar.gz
Misc. fixes
With the siwtch to a C++ compiler, the AC_PATH_XTRA has become less effective as it internally relies on the C compiler invokation. Fixed CXXFLAGS, CPPFLAGS, and LDFLAGS when detecting <X11/xpm.h> usability. Various bitmasks in src/hyper and src/graph were bogusly using 'char' (instead of 'unsigned char') when they specify values larger than 127. Caught by the C++ compiler, thanks to no-narrowing conversion. Fixed. Eventually the X11-based HD interface and graphics should be replaced by a more modern GUI interface.
Diffstat (limited to 'src/hyper/ht_icon')
-rw-r--r--src/hyper/ht_icon2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hyper/ht_icon b/src/hyper/ht_icon
index 859e0fe2..b50a3143 100644
--- a/src/hyper/ht_icon
+++ b/src/hyper/ht_icon
@@ -2,7 +2,7 @@
#define ht_icon_height 40
#define ht_icon_x_hot -1
#define ht_icon_y_hot -1
-static char ht_icon_bits[] = {
+static unsigned char ht_icon_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xf7, 0x00, 0x00, 0x00, 0x00, 0xe7, 0x00, 0x00, 0x00,
0x00, 0xe7, 0x00, 0x00, 0x00, 0x00, 0xe7, 0xef, 0x7b, 0x3c, 0xe7, 0xff,