aboutsummaryrefslogtreecommitdiff
path: root/src/graph
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/graph
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/graph')
-rw-r--r--src/graph/include/light11.mask2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph/include/light11.mask b/src/graph/include/light11.mask
index 4fffa962..dc1025fd 100644
--- a/src/graph/include/light11.mask
+++ b/src/graph/include/light11.mask
@@ -2,7 +2,7 @@
#define lightMask_height 16
#define lightMask_x_hot 8
#define lightMask_y_hot 0
-static char lightMask_bits[] = {
+static unsigned char lightMask_bits[] = {
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x04, 0x40, 0xc8, 0x27, 0x20, 0x08,
0x10, 0x11, 0x96, 0x12, 0x90, 0xd2, 0x90, 0x10, 0x24, 0x09, 0x42, 0x45,
0x40, 0x85, 0x80, 0x03, 0x80, 0x02, 0x00, 0x01};